Factory

Factory class to fetch Registry objects

since

1.5.0

Methods

getFormat

Returns an AbstractRegistryFormat object, only creating it if it doesn't already exist.

getFormat(string $type, array $options = array()) : \Joomla\Registry\FormatInterface
static
since

1.5.0

throws

\InvalidArgumentException

Arguments

$type

stringThe format to load

$options

arrayAdditional options to configure the object

Response

\Joomla\Registry\FormatInterfaceRegistry format handler

Properties

formatInstances

Format instances container - for backward compatibility with AbstractRegistryFormat::getInstance().

static deprecated
since

1.5.0

deprecated

2.0 Object caching will no longer be supported

Type(s)

array<mixed,\Joomla\Registry\FormatInterface>