AbstractRegistryFormat

Implements \Joomla\Registry\FormatInterface

Abstract Format for Registry

abstract deprecated
since

1.0

deprecated

2.0 Format objects should directly implement the FormatInterface

Methods

getInstance

Returns a reference to a Format object, only creating it if it doesn't already exist.

getInstance(string $type, array $options = array()) : \Joomla\Registry\AbstractRegistryFormat
static deprecated
deprecated

2.0 Use Factory::getFormat() instead

since

1.0

throws

\InvalidArgumentException

Arguments

$type

stringThe format to load

$options

arrayAdditional options to configure the object

Response

\Joomla\Registry\AbstractRegistryFormatRegistry format handler

Properties

instances

Format instances container.

static deprecated
since

1.0

deprecated

2.0 Object caching will no longer be supported

Type(s)

array<mixed,\Joomla\Registry\AbstractRegistryFormat>