Пример #1
0
 public function shutdown($Controller)
 {
     $result = $this->Authenticators->triggerCallback('before', 'shutdown', array($Controller));
     if (!$this->Authenticators->interrupted) {
         // workaround warning error with 'expected argument 1 as a reference'
         $result = parent::shutdown($Controller);
     }
     $result = $this->Authenticators->triggerCallback('after', 'shutdown', array($result), 'enchain');
     return $result;
 }