yii\web\User::getAuthManager PHP Méthode

getAuthManager() protected méthode

By default this is the authManager application component. You may override this method to return a different auth manager instance if needed.
Deprecation: since version 2.0.9, to be removed in 2.1. Use [[getAccessChecker()]] instead.
Since: 2.0.6
protected getAuthManager ( ) : yii\rbac\ManagerInterface
Résultat yii\rbac\ManagerInterface
    protected function getAuthManager()
    {
        return Yii::$app->getAuthManager();
    }