예제 #1
0
 public function getAccessControl($method = null)
 {
     $control = new AccessControl();
     foreach ($this->getActions($method) as $action) {
         if ($customControl = $action->getAccessControl()) {
             $control->combine($customControl);
         }
     }
     return $control;
 }