IdentityAware

Trait for application classes which are identity (user) aware

since

4.0.0

package

Joomla CMS

Methods

getIdentity

Get the application identity.

getIdentity() : \Joomla\CMS\User\User
since

4.0.0

Response

User

loadIdentity

Allows the application to load a custom or default identity.

loadIdentity(\Joomla\CMS\User\User identity = null) : 
since

4.0.0

Arguments

identity

UserAn optional identity object. If omitted, a null user object is created.

Response

$this

Properties

identity

The application identity object.

since

4.0.0

Type(s)

User