public function getMethod() { return $this->method; }
private function _getRuleMethod(RouteRule $rule) { if (!$rule->isActionRequired()) { return 'ALL'; } return is_array($rule->getMethod()) ? 'ANY' : $rule->getMethod(); }