/** * Get the URL to a controller action. * * @param string $action * @param mixed $parameters * @param bool $absolute * @return string */ public function action($action, $parameters = array(), $absolute = true) { return $this->route($action, $parameters, $absolute, $this->routes->getByAction($action)); }
/** * Check if a Route with the given name exists. * * @param string $name * @return bool */ public function has($name) { return $this->routes->hasNamedRoute($name); }