示例#1
0
 public function getActions()
 {
     $actions = array();
     foreach ($this->facade->getMethods() as $method) {
         if (!String::endsWith($method->getName(), 'Action')) {
             continue;
         }
         $actions[$method->getName()] = $method;
     }
     return $actions;
 }