Error
Call to a member function types() on null Error thrown with message "Call to a member function types() on null" Stacktrace: #40 Error in /home/autopiesa/app/Http/Controllers/Front/PartsController.php:226 #39 App\Http\Controllers\Front\PartsController:show in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #38 Illuminate\Routing\Controller:callAction in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #37 Illuminate\Routing\ControllerDispatcher:dispatch in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262 #36 Illuminate\Routing\Route:runController in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 #35 Illuminate\Routing\Route:run in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695 #34 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/app/Http/Middleware/FrontLocalization.php:21 #32 App\Http\Middleware\FrontLocalization:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #31 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/mcamara/laravel-localization/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php:45 #30 Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/app/Http/Middleware/CartPopulatorMiddleware.php:30 #28 App\Http\Middleware\CartPopulatorMiddleware:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/app/Http/Middleware/RedirectToLowercase.php:21 #26 App\Http\Middleware\RedirectToLowercase:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #25 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/app/Http/Middleware/LanguageMiddleware.php:20 #24 App\Http\Middleware\LanguageMiddleware:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #22 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #20 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #18 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #17 Illuminate\Session\Middleware\StartSession:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #15 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #13 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #12 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #11 Illuminate\Pipeline\Pipeline:then in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php:697 #10 Illuminate\Routing\Router:runRouteWithinStack in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php:672 #9 Illuminate\Routing\Router:runRoute in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636 #8 Illuminate\Routing\Router:dispatchToRoute in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 #7 Illuminate\Routing\Router:dispatch in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:166 #6 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #4 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 #0 Illuminate\Foundation\Http\Kernel:handle in /home/autopiesa/public_html/index.php:55
40
Error
/app/Http/Controllers/Front/PartsController.php226
39
App\Http\Controllers\Front\PartsController show
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
38
Illuminate\Routing\Controller callAction
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php45
37
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php262
36
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php205
35
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php695
34
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/FrontLocalization.php21
32
App\Http\Middleware\FrontLocalization handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
31
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/mcamara/laravel-localization/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php45
30
Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
29
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/CartPopulatorMiddleware.php30
28
App\Http\Middleware\CartPopulatorMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
27
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/RedirectToLowercase.php21
26
App\Http\Middleware\RedirectToLowercase handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
25
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/LanguageMiddleware.php20
24
App\Http\Middleware\LanguageMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
23
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
22
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
20
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
18
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
17
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
16
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
15
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
13
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
12
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
11
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php697
10
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php672
9
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php636
8
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php625
7
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php166
6
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
4
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php141
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php110
0
Illuminate\Foundation\Http\Kernel handle
/public_html/index.php55
/home/autopiesa/app/Http/Controllers/Front/PartsController.php
                                    ->distinct()
                                    ->get();
        //$ws = new WSPrices($products);
        //$ws->autonet();
        $total = str_replace(',', '', Cart::instance('shopping')->subtotal());
        $transport = TransportMargin::where('margin','!=',0)->get()->first()->max;
        $breadcrumb = 'frontPartSearch';
        $meta = Meta::build('Search');
        $groups = $this->getGroups($search,null,null);
        $metaCategory = '';
        return view('front.partials.products.parts.products.search', compact('meta','breadcrumb', 'products', 'contactInfo', 'transport', 'total', 'manufacturers', 'groups','metaCategory', 'search'));
    }

    public function show($slug, CatalogProduct $product)
    {
        session()->keep('productsUrl');
        $phone = Information::whereActive('active')->whereTitle('telefon')->get()->first();
        $delivery = Information::whereActive('active')->whereTitle('transportDetails')->get()->first();
        $product = $product->bySlug($slug);        
        $types = $product->types()->whereActive('active')->orderBy('id')->paginate();   
        if ($product->partsCategories->count() > 0)     
        $equivalences = PartCode::join('category_parts', function ($join) use ($product) {
                                        $join->on('part_codes.part_id', '=', 'category_parts.part_id')
                                             ->where('category_parts.category_id', '=', $product->partsCategories->sortBy('category_id')->last()->id);
                                  })
                                ->whereCode(preg_replace("/[^a-zA-Z0-9]+/","",$product->code))
                                ->limit(15)
                                ->get();
        else $equivalences = PartCode::whereCode(preg_replace("/[^a-zA-Z0-9]+/","",$product->code))
                                ->limit(15)
                                ->get();
        $total = str_replace(',', '', Cart::instance('shopping')->subtotal());
        $transport = TransportMargin::where('margin','!=',0)->get()->first()->max;
        if (session()->has('partsCategory')) {
            $breadcrumb = 'frontCategoryPart';
        } elseif(session()->has('frontPart')) {
            $breadcrumb = 'frontPart';
        } else {
        $breadcrumb = 'frontSearchPart';
        }
Arguments
  1. "Call to a member function types() on null"
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return $this->{$method}(...array_values($parameters));
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
Arguments
  1. "ate-set-placute-franafrana-disc-13046027402"
    
  2. null
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
Arguments
  1. "show"
    
  2. array:2 [
      "slug" => "ate-set-placute-franafrana-disc-13046027402"
      0 => App\Models\CatalogProduct {#2942}
    ]
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     * Determine if the route action is a serialized Closure.
     *
     * @return bool
     */
    protected function isSerializedClosure()
    {
        return RouteAction::containsSerializedClosure($this->action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
Arguments
  1. Illuminate\Routing\Route {#2108}
    
  2. App\Http\Controllers\Front\PartsController {#2460}
    
  3. "show"
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']) && ! $this->isSerializedClosure();
    }
 
    /**
     * Run the route action and return the response.
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/app/Http/Middleware/FrontLocalization.php
 
namespace App\Http\Middleware;
 
use Closure;
use App;
use LaravelLocalization;
 
class FrontLocalization
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        App::setLocale(LaravelLocalization::getCurrentLocale());
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1893 …4}
    
/home/autopiesa/vendor/mcamara/laravel-localization/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php
 
        // Dump the first element (empty string) as getPathInfo() always returns a leading slash
        array_shift($params);
 
        if (\count($params) > 0) {
            $locale = $params[0];
 
            if (app('laravellocalization')->checkLocaleInSupportedLocales($locale)) {
                if (app('laravellocalization')->isHiddenDefault($locale)) {
                    $redirection = app('laravellocalization')->getNonLocalizedURL();
 
                    // Save any flashed data for redirect
                    app('session')->reflash();
 
                    return new RedirectResponse($redirection, 302, ['Vary' => 'Accept-Language']);
                }
            }
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2899 …4}
    
/home/autopiesa/app/Http/Middleware/CartPopulatorMiddleware.php

class CartPopulatorMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
      if (Auth::guard('client')->check())
      {
        $client = Auth::guard('client')->user();          
        $cartItems = ShoppingCart::whereClient_id($client->id)->whereInstance('shopping')->get();
        $this->persistCartInstance();
        foreach($cartItems as $cartItem) $this->populateCartFromDb($cartItem);
      }
      return $next($request);       
    }

    public function populateCartFromDb($cartItem)
    {
      foreach (Cart::instance('shopping')->content() as $item) if ($item->id == $cartItem->product_id) Cart::instance('shopping')->remove($item->rowId);
      $price = $this->getItemPrice($cartItem);
      $product = CatalogProduct::find($cartItem->product_id);
      if ($price != null) 
        {
          if ($cartItem->qty > 0) $qty = $cartItem->qty;
          else $qty = 1;
          Cart::instance('shopping')->add(['id' => $cartItem->product_id, 'name' => $cartItem->title, 'qty' => $qty, 'price' => discountedPrice($product), 'weight' => 1 ,'options' => ['priceId' => $price->id, 'um' => $price->um, 'unit_price' => $price->unit_price, 'unit_um' => $price->unit_um, 'supplier_id' => $price->supplier_id]]);
        }
    }

    public function persistCartInstance()
    {
      $client = Auth::guard('client')->user();
      foreach (Cart::instance('shopping')->content() as $key => $cartItem) {
          $info = collect();
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2900 …4}
    
/home/autopiesa/app/Http/Middleware/RedirectToLowercase.php
namespace App\Http\Middleware;
use Closure;
use \Illuminate\Support\Facades\Redirect;

class RedirectToLowercase
{
    /**
     * Run the request filter.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if ( ! ctype_lower(preg_replace('/[^A-Za-z]/', '', $request->path())) && $request->path() !== "/") {
            $new_route = str_replace($request->path(), strtolower($request->path()), $request->fullUrl());
            return Redirect::to($new_route, 301);
        }
        return $next($request);
    }
}
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2901 …4}
    
/home/autopiesa/app/Http/Middleware/LanguageMiddleware.php
<?php
 
namespace App\Http\Middleware;
 
use Closure;
use App;
 
class LanguageMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (session('language') != '') App::setLocale(session('language'));
        return $next($request);
    }
}
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2902 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Session\TokenMismatchException
     */
    public function handle($request, Closure $next)
    {
        if (
            $this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->inExceptArray($request) ||
            $this->tokensMatch($request)
        ) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->shouldAddXsrfTokenCookie()) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException('CSRF token mismatch.');
    }
 
    /**
     * Determine if the HTTP request uses a ‘read’ verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function isReading($request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2903 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2904 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $this->startSession($request, $session)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return \Illuminate\Contracts\Session\Session
     */
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        $session = $this->getSession($request);
 
        if ($this->manager->shouldBlock() ||
            ($request->route() instanceof Route && $request->route()->locksFor())) {
            return $this->handleRequestWhileBlocking($request, $session, $next);
        }
 
        return $this->handleStatefulRequest($request, $session, $next);
    }
 
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Session\Store {#2916}
    
  3. Closure($passable) {#2905 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2905 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2906 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $cookie) {
            if ($this->isDisabled($key) || is_array($cookie)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2907 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->reject(function ($name) use ($excluded) {
            if (empty($excluded)) {
Arguments
  1. Closure($request) {#2896 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
Arguments
  1. Illuminate\Routing\Route {#2108}
    
  2. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $route->setContainer($this->container);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Routing\Route {#2108}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                }
            }
 
            if (isset($data['template'])) {
                return response(
                    $data['template'],
                    $data['status'] ?? 503,
                    $this->getHeaders($data)
                );
            }
 
            throw new HttpException(
                $data['status'] ?? 503,
                'Service Unavailable',
                null,
                $this->getHeaders($data)
            );
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the incoming request has a maintenance mode bypass cookie.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $data
     * @return bool
     */
    protected function hasValidBypassCookie($request, array $data)
    {
        return isset($data['secret']) &&
                $request->cookie('laravel_maintenance') &&
                MaintenanceModeBypassCookie::isValid(
                    $request->cookie('laravel_maintenance'),
                    $data['secret']
                );
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2453 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
Arguments
  1. Closure($request) {#1891 …4}
    
/home/autopiesa/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Throwable $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    
/home/autopiesa/public_html/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#44
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#1885 …4}
      #routeResolver: Closure() {#1889 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +request: Symfony\Component\HttpFoundation\InputBag {#52}
      +query: Symfony\Component\HttpFoundation\InputBag {#52}
      +server: Symfony\Component\HttpFoundation\ServerBag {#48}
      +files: Symfony\Component\HttpFoundation\FileBag {#49}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#47}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #requestUri: "/piesa-auto/ate-set-placute-franafrana-disc-13046027402"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#2916}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      basePath: ""
      format: "html"
    }
    

Environment & details:

Key Value
p
"piesa-auto/ate-set-placute-franafrana-disc-13046027402"
empty
empty
empty
empty
Key Value
USER
"autopiesa"
HOME
"/home/autopiesa"
SCRIPT_NAME
"**********"
REQUEST_URI
"*******************************************************"
QUERY_STRING
"********************************************************"
REQUEST_METHOD
"***"
SERVER_PROTOCOL
"********"
GATEWAY_INTERFACE
"*******"
REDIRECT_QUERY_STRING
"p=piesa-auto/ate-set-placute-franafrana-disc-13046027402"
REDIRECT_URL
"*******************************************************"
REMOTE_PORT
"*****"
SCRIPT_FILENAME
"*************************************"
SERVER_ADMIN
"**********************"
CONTEXT_DOCUMENT_ROOT
"***************************"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"*****"
DOCUMENT_ROOT
"***************************"
REMOTE_ADDR
"***********"
SERVER_PORT
"***"
SERVER_ADDR
"*************"
SERVER_NAME
"************"
SERVER_SOFTWARE
"******"
SERVER_SIGNATURE
""
PATH
"************************************************************************************************************************************************************************************"
HTTP_X_HTTPS
"*"
HTTP_HOST
"************"
HTTP_USER_AGENT
"*********"
HTTP_ACCEPT
"***"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"************"
HTTPS
"**"
SCRIPT_URI
"***************************************************************************"
SCRIPT_URL
"*******************************************************"
UNIQUE_ID
"***************************"
REDIRECT_STATUS
"***"
REDIRECT_SSL_TLS_SNI
"************"
REDIRECT_HTTPS
"**"
REDIRECT_SCRIPT_URI
"***************************************************************************"
REDIRECT_SCRIPT_URL
"*******************************************************"
REDIRECT_UNIQUE_ID
"***************************"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"**********"
REQUEST_TIME_FLOAT
"***"
REQUEST_TIME
"***"
argv
array:1 [
  0 => "p=piesa-auto/ate-set-placute-franafrana-disc-13046027402"
]
argc
1
APP_NAME
"****************"
APP_ENV
"**********"
APP_DEBUG
"****"
APP_LOG_LEVEL
"*****"
APP_KEY
"***************************************************"
APP_URL
"********************"
APP_BASE_PATH
"****************"
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"**************"
DB_USERNAME
"**************"
DB_PASSWORD
"************"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"****"
SESSION_DRIVER
"****"
QUEUE_DRIVER
"****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
MAIL_DRIVER
"********"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"*******************"
MAIL_PASSWORD
"*************"
MAIL_ENCRYPTION
"***"
MAIL_PRETEND
"false"
MAIL_FROM_NAME
"************"
DEFAULT_EMAIL
"*******************"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
Key Value
APP_NAME
"****************"
APP_ENV
"**********"
APP_DEBUG
"****"
APP_LOG_LEVEL
"*****"
APP_KEY
"***************************************************"
APP_URL
"********************"
APP_BASE_PATH
"****************"
DB_CONNECTION
"*****"
DB_HOST
"*********"
DB_PORT
"****"
DB_DATABASE
"**************"
DB_USERNAME
"**************"
DB_PASSWORD
"************"
BROADCAST_DRIVER
"***"
CACHE_DRIVER
"****"
SESSION_DRIVER
"****"
QUEUE_DRIVER
"****"
REDIS_HOST
"*********"
REDIS_PASSWORD
"****"
REDIS_PORT
"****"
MAIL_DRIVER
"********"
MAIL_HOST
"**************"
MAIL_PORT
"***"
MAIL_USERNAME
"*******************"
MAIL_PASSWORD
"*************"
MAIL_ENCRYPTION
"***"
MAIL_PRETEND
"*****"
MAIL_FROM_NAME
"************"
DEFAULT_EMAIL
"*******************"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
0. Whoops\Handler\PrettyPageHandler