예제 #1
0
 /**
  * @return Abstract Authentication implementation
  */
 public function getAuth()
 {
     if (!isset($this->auth)) {
         $class = __NAMESPACE__ . '\\auth\\' . $this->config->getAuthClass();
         $this->auth = new $class($this);
     }
     return $this->auth;
 }