Exemplo n.º 1
0
 private function setAccessControl()
 {
     $control = new AccessControl();
     foreach ($this->queue as $action) {
         if ($customControl = $action->getAccessControl()) {
             $control->combine($customControl);
         }
     }
     $this->response = $control->filter($this->response, $this->request);
 }