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