/** * Does this registry have a service action for this route * @param \Drest\Mapping\RouteMetaData $routeMetaData * @return bool */ public function hasServiceAction(\Drest\Mapping\RouteMetaData $routeMetaData) { return array_key_exists($routeMetaData->getNamedRoute(), $this->routes); }