getAuthManager() protected method

protected getAuthManager ( ) : DbManager
return yii\rbac\DbManager
コード例 #1
0
 /**
  * Override method to allow injection of used authManager from trait.
  * @return \yii\rbac\DbManager
  */
 public function getAuthManager()
 {
     if ($this->authManager !== null) {
         return $this->authManager;
     }
     return parent::getAuthManager();
 }