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( type, mixed||string|int options = []) : \Joomla\Registry\FormatInterface
static
throws

InvalidArgumentException

since

1.5.0

2.0.0

Arguments

type

stringThe format to load

options

array<string|int, mixed>Additional options to configure the object

Response

FormatInterfaceRegistry format handler