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