web\IdentityInterface findIdentity()

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.)

doc_Yii
2016-10-30 17:15:12
Comments
Leave a Comment

Please login to continue.