Factory

Factory class to fetch Registry objects

since

1.5.0

package

Joomla Framework

Methods

getFormat

Returns a FormatInterface object, only creating it if it doesn't already exist.

getFormat(string type, array options = []) : \Joomla\Registry\FormatInterface
static
throws

\InvalidArgumentException

since

1.5.0

2.0.0

Arguments

type

stringThe format to load

options

arrayAdditional options to configure the object

Response

\Joomla\Registry\FormatInterfaceRegistry format handler