$identity public property
The identity object associated with the currently logged-in user. null
is returned if the user is not logged in (not authenticated).
public yii\web\IdentityInterface|null getIdentity ( $autoRenew = true )
public void setIdentity ( $identity )
Please login to continue.