HTMLRegistryAwareTrait

Defines the trait for a HTML Registry aware class.

since

4.0.0

package

Joomla CMS

Methods

getRegistry

Get the registry.

getRegistry() : \Joomla\CMS\HTML\Registry
since

4.0.0

throws

UnexpectedValueExceptionMay be thrown if the registry has not been set.

Response

Registry

setRegistry

Set the registry to use.

setRegistry(\Joomla\CMS\HTML\Registry registry = null) : 
since

4.0.0

Arguments

registry

RegistryThe registry

Response

void

Properties

registry

The registry

since

4.0.0

Type(s)

Registry