public static findIdentity ( string | integer $id ) : yii\web\IdentityInterface | ||
$id | string | integer | the ID to be looked for |
Результат | 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.) |