yii\web\IdentityInterface::findIdentity PHP Метод

findIdentity() публичный статический Метод

Finds an identity by the given ID.
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.)
    public static function findIdentity($id);