Back to CMSApplicationInterface class

Method getIdentity

public \Joomla\CMS\User\User|null
getIdentity
()
Get the application identity.
Returns
  • \Joomla\CMS\User\User|null A User object or null if not set.
Since
  • 4.0.0

Method getIdentity - Source code

/**
 * Get the application identity.
 *
 * @return  User|null  A User object or null if not set.
 *
 * @since   4.0.0
 */
public function getIdentity();