yii\web\User::getAuthManager PHP 메소드

getAuthManager() 보호된 메소드

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