StatefulModelTrait

Trait representing a model holding a state

since

1.3.0

Methods

getState

Get the model state.

getState() : \Joomla\Registry\Registry
since

1.3.0

throws

\UnexpectedValueException

Response

\Joomla\Registry\RegistryThe state object.

setState

Set the model state.

setState(\Joomla\Registry\Registry $state) : void
since

1.3.0

Arguments

$state

\Joomla\Registry\RegistryThe state object.

Properties

state

The model state.

since

1.3.0

Type(s)

\Joomla\Registry\Registry