HelperFactoryAwareTrait

Defines the trait for a HelperFactory Aware Class.

since

4.2.0

package

Joomla CMS

Methods

getHelperFactory

Get the HelperFactory.

getHelperFactory() : \Joomla\CMS\Helper\HelperFactory
since

4.2.0

throws

\UnexpectedValueExceptionMay be thrown if the HelperFactory has not been set.

Response

\Joomla\CMS\Helper\HelperFactory

setHelperFactory

Sets the helper factory to use.

setHelperFactory(\Joomla\CMS\Helper\HelperFactory helperFactory) : void
since

4.2.0

Arguments

helperFactory

\Joomla\CMS\Helper\HelperFactoryThe helper factory to use.

Properties

helperFactory

HelperFactory

since

4.2.0

Type(s)

HelperFactory