route

Solutions on MaxInterview for route by the best coders in the world

showing results for - "route"
Enola
12 May 2020
1     * Get the URL to a named route.     *     * @param  string  $name     * @param  mixed  $parameters     * @param  bool  $absolute     * @return string     *     * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException     */    public function route($name, $parameters = [], $absolute = true)    {        if (! is_null($route = $this->routes->getByName($name))) {            return $this->toRoute($route, $parameters, $absolute);        }         throw new RouteNotFoundException("Route [{$name}] not defined.");    }     /**     * Get the URL for a given route instance.     *     * @param  \Illuminate\Routing\Route  $route     * @param  mixed  $parameters     * @param  bool  $absolute     * @return string     *     * @throws \Illuminate\Routing\Exceptions\UrlGenerationException     */    public function toRoute($route, $parameters, $absolute)    {        $parameters = collect(Arr::wrap($parameters))->map(function ($value, $key) use ($route) {
2            
queries leading to this page
routesroute