ErrorException (E_ERROR)
No hint path defined for [pureencapsulations]. (View: /var/www/mp2go/packages/Webkul/Admin/src/Resources/views/errors/404.blade.php)
Previous exceptions
  • No hint path defined for [pureencapsulations]. (0)
ErrorException thrown with message "No hint path defined for [pureencapsulations]. (View: /var/www/mp2go/packages/Webkul/Admin/src/Resources/views/errors/404.blade.php)" Stacktrace: #66 ErrorException in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112 #65 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:45 #64 InvalidArgumentException in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112 #63 Illuminate\View\FileViewFinder:parseNamespaceSegments in /var/www/mp2go/packages/Webkul/Theme/src/ThemeViewFinder.php:20 #62 Webkul\Theme\ThemeViewFinder:findNamespacedView in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:76 #61 Illuminate\View\FileViewFinder:find in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/Factory.php:128 #60 Illuminate\View\Factory:make in /var/www/mp2go/storage/framework/views/6a9d501aa306576c5e50a0fa86bb9701842d0693.php:44 #59 include in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43 #58 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59 #57 Illuminate\View\Engines\CompilerEngine:get in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/View.php:142 #56 Illuminate\View\View:getContents in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/View.php:125 #55 Illuminate\View\View:renderContents in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/View.php:90 #54 Illuminate\View\View:render in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Http/Response.php:42 #53 Illuminate\Http\Response:setContent in /var/www/mp2go/vendor/symfony/http-foundation/Response.php:205 #52 Symfony\Component\HttpFoundation\Response:__construct in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55 #51 Illuminate\Routing\ResponseFactory:make in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:69 #50 Illuminate\Routing\ResponseFactory:view in /var/www/mp2go/packages/Webkul/Admin/src/Exceptions/Handler.php:77 #49 Webkul\Admin\Exceptions\Handler:response in /var/www/mp2go/packages/Webkul/Admin/src/Exceptions/Handler.php:38 #48 Webkul\Admin\Exceptions\Handler:render in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:83 #47 Illuminate\Routing\Pipeline:handleException in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #46 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/packages/Webkul/Shop/src/Http/Middleware/Currency.php:44 #45 Webkul\Shop\Http\Middleware\Currency:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #44 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #43 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/packages/Webkul/Shop/src/Http/Middleware/Theme.php:31 #42 Webkul\Shop\Http\Middleware\Theme:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #40 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/packages/Webkul/Shop/src/Http/Middleware/Locale.php:48 #39 Webkul\Shop\Http\Middleware\Locale:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #38 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #37 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/packages/Webkul/HideShopForGuest/src/Http/Middleware/HideShopForGuest.php:39 #36 Webkul\HideShopForGuest\Http\Middleware\HideShopForGuest:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #34 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #33 Illuminate\Routing\Middleware\SubstituteBindings:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #31 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:68 #30 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #28 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php:39 #27 Illuminate\Session\Middleware\AuthenticateSession:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #25 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #24 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #22 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 #21 Illuminate\Pipeline\Pipeline:then in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Router.php:667 #20 Illuminate\Routing\Router:runRouteWithinStack in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Router.php:642 #19 Illuminate\Routing\Router:runRoute in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Router.php:608 #18 Illuminate\Routing\Router:dispatchToRoute in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Router.php:597 #17 Illuminate\Routing\Router:dispatch in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 #16 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 #14 Illuminate\Session\Middleware\StartSession:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #11 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 #8 Illuminate\Cookie\Middleware\EncryptCookies:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 #5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 #2 Illuminate\Pipeline\Pipeline:then in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/mp2go/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/mp2go/public/index.php:74
66
ErrorException
/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php112
65
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php45
64
InvalidArgumentException
/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php112
63
Illuminate\View\FileViewFinder parseNamespaceSegments
/packages/Webkul/Theme/src/ThemeViewFinder.php20
62
Webkul\Theme\ThemeViewFinder findNamespacedView
/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php76
61
Illuminate\View\FileViewFinder find
/vendor/laravel/framework/src/Illuminate/View/Factory.php128
60
Illuminate\View\Factory make
/storage/framework/views/6a9d501aa306576c5e50a0fa86bb9701842d0693.php44
59
include
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php43
58
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php59
57
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php142
56
Illuminate\View\View getContents
/vendor/laravel/framework/src/Illuminate/View/View.php125
55
Illuminate\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php90
54
Illuminate\View\View render
/vendor/laravel/framework/src/Illuminate/Http/Response.php42
53
Illuminate\Http\Response setContent
/vendor/symfony/http-foundation/Response.php205
52
Symfony\Component\HttpFoundation\Response __construct
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php55
51
Illuminate\Routing\ResponseFactory make
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php69
50
Illuminate\Routing\ResponseFactory view
/packages/Webkul/Admin/src/Exceptions/Handler.php77
49
Webkul\Admin\Exceptions\Handler response
/packages/Webkul/Admin/src/Exceptions/Handler.php38
48
Webkul\Admin\Exceptions\Handler render
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php83
47
Illuminate\Routing\Pipeline handleException
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php32
46
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/packages/Webkul/Shop/src/Http/Middleware/Currency.php44
45
Webkul\Shop\Http\Middleware\Currency handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
44
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
43
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/packages/Webkul/Shop/src/Http/Middleware/Theme.php31
42
Webkul\Shop\Http\Middleware\Theme handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
41
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
40
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/packages/Webkul/Shop/src/Http/Middleware/Locale.php48
39
Webkul\Shop\Http\Middleware\Locale handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
38
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
37
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/packages/Webkul/HideShopForGuest/src/Http/Middleware/HideShopForGuest.php39
36
Webkul\HideShopForGuest\Http\Middleware\HideShopForGuest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
35
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
34
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php41
33
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
32
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
31
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php68
30
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
29
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
28
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php39
27
Illuminate\Session\Middleware\AuthenticateSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
25
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
24
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
23
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
22
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php104
21
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php667
20
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php642
19
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php608
18
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php597
17
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php176
16
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php30
15
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php63
14
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
12
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
11
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
9
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php66
8
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
6
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php62
5
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php151
4
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
3
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php104
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php74
    }
 
    /**
     * Get the segments of a template with a named path.
     *
     * @param  string  $name
     * @return array
     *
     * @throws \InvalidArgumentException
     */
    protected function parseNamespaceSegments($name)
    {
        $segments = explode(static::HINT_PATH_DELIMITER, $name);
 
        if (count($segments) !== 2) {
            throw new InvalidArgumentException("View [{$name}] has an invalid name.");
        }
 
        if (! isset($this->hints[$segments[0]])) {
            throw new InvalidArgumentException("No hint path defined for [{$segments[0]}].");
        }
 
        return $segments;
    }
 
    /**
     * Find the given view in the list of paths.
     *
     * @param  string  $name
     * @param  array   $paths
     * @return string
     *
     * @throws \InvalidArgumentException
     */
    protected function findInPaths($name, $paths)
    {
        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path.'/'.$file)) {
                    return $viewPath;
Arguments
  1. "No hint path defined for [pureencapsulations]. (View: /var/www/mp2go/packages/Webkul/Admin/src/Resources/views/errors/404.blade.php)"
    
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. InvalidArgumentException {#2230
      #message: "No hint path defined for [pureencapsulations]."
      #code: 0
      #file: "/var/www/mp2go/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php"
      #line: 112
    }
    
  2. 1
    
    }
 
    /**
     * Get the segments of a template with a named path.
     *
     * @param  string  $name
     * @return array
     *
     * @throws \InvalidArgumentException
     */
    protected function parseNamespaceSegments($name)
    {
        $segments = explode(static::HINT_PATH_DELIMITER, $name);
 
        if (count($segments) !== 2) {
            throw new InvalidArgumentException("View [{$name}] has an invalid name.");
        }
 
        if (! isset($this->hints[$segments[0]])) {
            throw new InvalidArgumentException("No hint path defined for [{$segments[0]}].");
        }
 
        return $segments;
    }
 
    /**
     * Find the given view in the list of paths.
     *
     * @param  string  $name
     * @param  array   $paths
     * @return string
     *
     * @throws \InvalidArgumentException
     */
    protected function findInPaths($name, $paths)
    {
        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path.'/'.$file)) {
                    return $viewPath;
Arguments
  1. "No hint path defined for [pureencapsulations]."
    
Exception message: No hint path defined for [pureencapsulations].
<?php 
 
namespace Webkul\Theme;
 
use Webkul\Theme\Facades\Themes;
use Illuminate\Support\Arr;
use Illuminate\View\FileViewFinder;
 
class ThemeViewFinder extends FileViewFinder
{
    /*
     * Override findNamespacedView() to add "resources/themes/theme_name/views/..." paths
     *
     * @param  string  $name
     * @return string
     */
    protected function findNamespacedView($name)
    {
        // Extract the $view and the $namespace parts
        list($namespace, $view) = $this->parseNamespaceSegments($name);
        
        if ($namespace != 'admin') {
            $paths = $this->addThemeNamespacePaths($namespace);
 
            // Find and return the view
            return $this->findInPaths($view, $paths);
        } else {
            return $this->findInPaths($view, $this->hints[$namespace]);
        }
    }
 
    public function addThemeNamespacePaths($namespace)
    {
        if (! isset($this->hints[$namespace])) {
            return [];
        }
 
        $paths = $this->hints[$namespace];
 
        $searchPaths = array_diff($this->paths, Themes::getLaravelViewPaths());
Arguments
  1. "pureencapsulations::layouts.master"
    
 
        if (isset($extensions)) {
            $this->extensions = $extensions;
        }
    }
 
    /**
     * Get the fully qualified location of the view.
     *
     * @param  string  $name
     * @return string
     */
    public function find($name)
    {
        if (isset($this->views[$name])) {
            return $this->views[$name];
        }
 
        if ($this->hasHintInformation($name = trim($name))) {
            return $this->views[$name] = $this->findNamespacedView($name);
        }
 
        return $this->views[$name] = $this->findInPaths($name, $this->paths);
    }
 
    /**
     * Get the path to a template with a named path.
     *
     * @param  string  $name
     * @return string
     */
    protected function findNamespacedView($name)
    {
        [$namespace, $view] = $this->parseNamespaceSegments($name);
 
        return $this->findInPaths($view, $this->hints[$namespace]);
    }
 
    /**
     * Get the segments of a template with a named path.
Arguments
  1. "pureencapsulations::layouts.master"
    
    {
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($path, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the evaluated view contents for the given view.
     *
     * @param  string  $view
     * @param  array   $data
     * @param  array   $mergeData
     * @return \Illuminate\Contracts\View\View
     */
    public function make($view, $data = [], $mergeData = [])
    {
        $path = $this->finder->find(
            $view = $this->normalizeName($view)
        );
 
        // Next, we will create the view instance and call the view creator for the view
        // which can set any data, etc. Then we will return the view instance back to
        // the caller for rendering or performing other view manipulations on this.
        $data = array_merge($mergeData, $this->parseData($data));
 
        return tap($this->viewInstance($view, $path, $data), function ($view) {
            $this->callCreator($view);
        });
    }
 
    /**
     * Get the first view that actually exists from the given list.
     *
     * @param  array  $views
     * @param  array   $data
     * @param  array   $mergeData
     * @return \Illuminate\Contracts\View\View
     *
Arguments
  1. "pureencapsulations::layouts.master"
    
            </div>
        </div>
    </div>
 
    <div class="error-area pos-relative pt-100 pb-60 fix">
        <div class="col-xl-12 text-center">
            <div class="container">
                <div class="error-description" style="margin-top: 20px;margin-bottom: 20px;color: #242424">
                    <?php echo e(__('admin::app.error.404.message')); ?>
 
                </div>
 
 
                <p><a href="http://127.0.0.1:8000" class="btn">Voltar para a página inicial</a></p>
            </div>
        </div>
    </div>
 
<?php $__env->stopSection(); ?>
<?php echo $__env->make('pureencapsulations::layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Arguments
  1. "pureencapsulations::layouts.master"
    
  2. array:4 [
      "obLevel" => 1
      "__env" => Illuminate\View\Factory {#254}
      "app" => Illuminate\Foundation\Application {#2}
      "errors" => Illuminate\Support\ViewErrorBag {#1217}
    ]
    
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/var/www/mp2go/storage/framework/views/6a9d501aa306576c5e50a0fa86bb9701842d0693.php"
    
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/var/www/mp2go/storage/framework/views/6a9d501aa306576c5e50a0fa86bb9701842d0693.php"
    
  2. array:3 [
      "__env" => Illuminate\View\Factory {#254}
      "app" => Illuminate\Foundation\Application {#2}
      "errors" => Illuminate\Support\ViewErrorBag {#1217}
    ]
    
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    protected function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/var/www/mp2go/packages/Webkul/Admin/src/Providers/../Resources/views/errors/404.blade.php"
    
  2. array:3 [
      "__env" => Illuminate\View\Factory {#254}
      "app" => Illuminate\Foundation\Application {#2}
      "errors" => Illuminate\Support\ViewErrorBag {#1217}
    ]
    
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
     * @return $this
     */
    public function setContent($content)
    {
        $this->original = $content;
 
        // If the content is "JSONable" we will set the appropriate header and convert
        // the content to JSON. This is useful when returning something like models
        // from routes that will be automatically transformed to their JSON form.
        if ($this->shouldBeJson($content)) {
            $this->header('Content-Type', 'application/json');
 
            $content = $this->morphToJson($content);
        }
 
        // If this content implements the "Renderable" interface then we will call the
        // render method on the object so we will avoid any "__toString" exceptions
        // that might be thrown and have their errors obscured by PHP's handling.
        elseif ($content instanceof Renderable) {
            $content = $content->render();
        }
 
        parent::setContent($content);
 
        return $this;
    }
 
    /**
     * Determine if the given content should be turned into JSON.
     *
     * @param  mixed  $content
     * @return bool
     */
    protected function shouldBeJson($content)
    {
        return $content instanceof Arrayable ||
               $content instanceof Jsonable ||
               $content instanceof ArrayObject ||
               $content instanceof JsonSerializable ||
               is_array($content);
        500 => 'Internal Server Error',
        501 => 'Not Implemented',
        502 => 'Bad Gateway',
        503 => 'Service Unavailable',
        504 => 'Gateway Timeout',
        505 => 'HTTP Version Not Supported',
        506 => 'Variant Also Negotiates',                                     // RFC2295
        507 => 'Insufficient Storage',                                        // RFC4918
        508 => 'Loop Detected',                                               // RFC5842
        510 => 'Not Extended',                                                // RFC2774
        511 => 'Network Authentication Required',                             // RFC6585
    ];
 
    /**
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', int $status = 200, array $headers = [])
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Factory method for chainability.
     *
     * Example:
     *
     *     return Response::create($body, 200)
     *         ->setSharedMaxAge(300);
     *
     * @param mixed $content The response content, see setContent()
     * @param int   $status  The response status code
     * @param array $headers An array of response headers
     *
     * @return static
     */
    public static function create($content = '', $status = 200, $headers = [])
    {
Arguments
  1. Illuminate\View\View {#2242}
    
     * @param  \Illuminate\Routing\Redirector  $redirector
     * @return void
     */
    public function __construct(ViewFactory $view, Redirector $redirector)
    {
        $this->view = $view;
        $this->redirector = $redirector;
    }
 
    /**
     * Return a new response from the application.
     *
     * @param  string  $content
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function make($content = '', $status = 200, array $headers = [])
    {
        return new Response($content, $status, $headers);
    }
 
    /**
     * Return a new view response from the application.
     *
     * @param  string  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function view($view, $data = [], $status = 200, array $headers = [])
    {
        return $this->make($this->view->make($view, $data), $status, $headers);
    }
 
    /**
     * Return a new JSON response from the application.
     *
     * @param  mixed  $data
Arguments
  1. Illuminate\View\View {#2242}
    
  2. 404
    
  3. []
    
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function make($content = '', $status = 200, array $headers = [])
    {
        return new Response($content, $status, $headers);
    }
 
    /**
     * Return a new view response from the application.
     *
     * @param  string  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function view($view, $data = [], $status = 200, array $headers = [])
    {
        return $this->make($this->view->make($view, $data), $status, $headers);
    }
 
    /**
     * Return a new JSON response from the application.
     *
     * @param  mixed  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    public function json($data = [], $status = 200, array $headers = [], $options = 0)
    {
        return new JsonResponse($data, $status, $headers, $options);
    }
 
    /**
     * Return a new JSONP response from the application.
     *
     * @param  string  $callback
Arguments
  1. Illuminate\View\View {#2242}
    
  2. 404
    
  3. []
    
 
        return redirect()->guest(route('auth.login'));
    }
 
    private function isAdminUri()
    {
        return strpos(\Illuminate\Support\Facades\Request::path(), 'admin') !== false ? true : false;
    }
 
    private function response($path, $statusCode)
    {
        if (request()->expectsJson()) {
            return response()->json([
                    'error' => isset($this->jsonErrorMessages[$statusCode])
                        ? $this->jsonErrorMessages[$statusCode]
                        : 'Something went wrong, please try again later.'
                ], $statusCode);
        }
 
        return response()->view("{$path}::errors.{$statusCode}", [], $statusCode);
    }
}
Arguments
  1. "admin::errors.404"
    
  2. []
    
  3. 404
    
        500 => '500 Internal Server Error',
    ];
 
    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        $path = 'admin';
 
        if ($exception instanceof HttpException) {
            $statusCode = in_array($exception->getStatusCode(), [401, 403, 404, 503]) ? $exception->getStatusCode() : 500;
 
            return $this->response($path, $statusCode);
        } else if ($exception instanceof ModelNotFoundException) {
            return $this->response($path, 404);
        } else if ($exception instanceof PDOException) {
            return $this->response($path, 500);
        }
 
        return parent::render($request, $exception);
    }
 
    /**
     * Convert an authentication exception into a response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Auth\AuthenticationException  $exception
     * @return \Illuminate\Http\Response
     */
    protected function unauthenticated($request, AuthenticationException $exception)
    {
        if ($request->expectsJson()) {
            return response()->json(['error' => $this->jsonErrorMessages[401]], 401);
        }
 
Arguments
  1. "admin"
    
  2. 404
    
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
        if (! $this->container->bound(ExceptionHandler::class) ||
            ! $passable instanceof Request) {
            throw $e;
        }
 
        $handler = $this->container->make(ExceptionHandler::class);
 
        $handler->report($e);
 
        $response = $handler->render($passable, $e);
 
        if (method_exists($response, 'withException')) {
            $response->withException($e);
        }
 
        return $response;
    }
}
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Database\Eloquent\ModelNotFoundException {#2244
      #model: "Webkul\Product\Models\Product"
      #ids: array:1 [
        0 => "super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      ]
      #message: "No query results for model [Webkul\Product\Models\Product] super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #code: 0
      #file: "/var/www/mp2go/packages/Webkul/Product/src/Repositories/ProductRepository.php"
      #line: 222
    }
    
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Database\Eloquent\ModelNotFoundException {#2244
      #model: "Webkul\Product\Models\Product"
      #ids: array:1 [
        0 => "super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      ]
      #message: "No query results for model [Webkul\Product\Models\Product] super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #code: 0
      #file: "/var/www/mp2go/packages/Webkul/Product/src/Repositories/ProductRepository.php"
      #line: 222
    }
    
    *
    * @param  \Illuminate\Http\Request  $request
    * @param  \Closure  $next
    * @return mixed
    */
    public function handle($request, Closure $next)
    {
        $currencyCode = request()->get('currency');
 
        if ($currency = $currencyCode) {
            if ($this->currency->findOneByField('code', $currency)) {
                session()->put('currency', $currency);
            }
        } else {
            if (! session()->get('currency')) {
                session()->put('currency', core()->getChannelBaseCurrencyCode());
            }
        }
 
        return $next($request);
    }
}
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#908 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    * @param  \Illuminate\Http\Request  $request
    * @param  \Closure  $next
    * @return mixed
    */
    public function handle($request, Closure $next)
    {
        $themes = app('themes');
        $channel = core()->getCurrentChannel();
 
        if ($channel && $channelThemeCode = $channel->theme) {
            if ($themes->exists($channelThemeCode)) {
                $themes->set($channelThemeCode);
            } else {
                $themes->set(config('themes.default'));
            }
        } else {
            $themes->set(config('themes.default'));
        }
 
        return $next($request);
    }
}
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#898 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    */
    public function handle($request, Closure $next)
    {
        $locale = request()->get('locale');
 
        if ($locale) {
            if ($this->locale->findOneByField('code', $locale)) {
                app()->setLocale($locale);
 
                session()->put('locale', $locale);
            }
        } else {
            if ($locale = session()->get('locale')) {
                app()->setLocale($locale);
            } else {
                app()->setLocale(core()->getDefaultChannel()->default_locale->code);
            }
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#902 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
        $notification = core()->getConfigData('hideshopforguest.settings.settings.hide-shop-before-login.notification');
 
        $group = core()->getConfigData('hideshopforguest.settings.settings.hide-shop-before-login.group');
 
        if ($moduleEnabled) {
            if (! auth()->guard('customer')->check() && ! request()->is('customer/*') && ! request()->is('admin/*')) {
                return $this->notify($notification);
            } else {
                if ($group){
                    if ($customer = auth()->guard('customer')->user()) {
                        if ($customer->customer_group_id != $group) {
                            auth()->guard('customer')->logout();
                            return $this->notify($notification);
                        }
                    }
                }
            }
        }
 
        return $next($request);
    }
 
    private function notify($notification)
    {
        if (isset($notification)) {
            session()->flash('warning', $notification);
        }
 
        return redirect()->route('customer.session.index');
    }
}
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1176 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     */
    public function __construct(Registrar $router)
    {
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->router->substituteBindings($route = $request->route());
 
        $this->router->substituteImplicitBindings($route);
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1177 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    }
 
    /**
     * 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 $this->addCookieToResponse($request, $next($request));
        }
 
        throw new TokenMismatchException;
    }
 
    /**
     * 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']);
    }
 
    /**
     * Determine if the application is running unit tests.
     *
     * @return bool
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1209 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     *
     * @param  \Illuminate\Contracts\Auth\Factory  $auth
     * @return void
     */
    public function __construct(AuthFactory $auth)
    {
        $this->auth = $auth;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $request->user() || ! $request->session()) {
            return $next($request);
        }
 
        if ($this->auth->viaRemember()) {
            $passwordHash = explode('|', $request->cookies->get($this->auth->getRecallerName()))[2];
 
            if ($passwordHash != $request->user()->getAuthPassword()) {
                $this->logout($request);
            }
        }
 
        if (! $request->session()->has('password_hash')) {
            $this->storePasswordHashInSession($request);
        }
 
        if ($request->session()->get('password_hash') !== $request->user()->getAuthPassword()) {
            $this->logout($request);
        }
 
        return tap($next($request), function () use ($request) {
            $this->storePasswordHashInSession($request);
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1208 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     * 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 {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#1189 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     *
     * @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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
Arguments
  1. Closure($request) {#1173 …4}
    
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\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 {#828}
    
  2. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    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);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Routing\Route {#828}
    
     * @return mixed
     */
    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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    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 {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     * @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 {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->sessionHandled = true;
 
        // 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.
        if ($this->sessionConfigured()) {
            $request->setLaravelSession(
                $session = $this->startSession($request)
            );
 
            $this->collectGarbage($session);
        }
 
        $response = $next($request);
 
        // 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.
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#619 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     * 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 {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#618 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     * 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)) {
                continue;
            }
 
            try {
                $request->cookies->set($key, $this->decryptCookie($key, $cookie));
            } catch (DecryptException $e) {
                $request->cookies->set($key, null);
            }
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#617 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
                return $next($request);
            }
 
            if ($this->inExceptArray($request)) {
                return $next($request);
            }
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the request has a URI that should be accessible in maintenance mode.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function inExceptArray($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->fullUrlIs($except) || $request->is($except)) {
                return true;
            }
        }
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
                    // 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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#616 …4}
    
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
    }
 
    /**
     * 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) {#843 …4}
    
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * 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 (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
*/
 
$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 {#43
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#611 …4}
      #routeResolver: Closure() {#899 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #requestUri: "/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#894}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"mypharma2go.com"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"mypharma2go.com"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_HOST
"mypharma2go.com"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at mypharma2go.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SERVER_NAME
"mypharma2go.com"
SERVER_ADDR
"172.31.1.83"
SERVER_PORT
"443"
REMOTE_ADDR
"44.213.75.78"
DOCUMENT_ROOT
"/var/www/mp2go/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/mp2go/public"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/mp2go/public/index.php"
REMOTE_PORT
"53198"
REDIRECT_URL
"/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/produtos/super-omega-3-epadha-fish-oil-sesame-lignans-olive-extract-240caps"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711648522.594
REQUEST_TIME
1711648522
empty
0. Whoops\Handler\PrettyPageHandler