findIdentity() public abstract static method
Finds an identity by the given ID.
public abstract static yii\web\IdentityInterface findIdentity ( $id )$id
string|integer
The ID to be looked for return yii\web\IdentityInterface
The identity object that matches the given ID. Null should be returned if such an identity cannot be found or the identity is not in an active state (disabled, deleted, etc.)