Illuminate \ View \ ViewException (E_ERROR)
Attempt to read property "urls" on null (View: /code/resources/views/stores/flexform/1/produto-institucional.blade.php)
Previous exceptions
  • Attempt to read property "urls" on null (0)
Illuminate\View\ViewException thrown with message "Attempt to read property "urls" on null (View: /code/resources/views/stores/flexform/1/produto-institucional.blade.php)" Stacktrace: #49 Illuminate\View\ViewException in /code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php:419 #48 Illuminate\View\Engines\CompilerEngine:handleViewException in /code/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #47 ErrorException in /code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php:419 #46 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php:419 #45 require in /code/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #44 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /code/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #43 Illuminate\Filesystem\Filesystem:getRequire in /code/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #42 Illuminate\View\Engines\PhpEngine:evaluatePath in /code/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #41 Illuminate\View\Engines\CompilerEngine:get in /code/vendor/laravel/framework/src/Illuminate/View/View.php:139 #40 Illuminate\View\View:getContents in /code/vendor/laravel/framework/src/Illuminate/View/View.php:122 #39 Illuminate\View\View:renderContents in /code/vendor/laravel/framework/src/Illuminate/View/View.php:91 #38 Illuminate\View\View:render in /code/vendor/laravel/framework/src/Illuminate/Http/Response.php:69 #37 Illuminate\Http\Response:setContent in /code/vendor/laravel/framework/src/Illuminate/Http/Response.php:35 #36 Illuminate\Http\Response:__construct in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:820 #35 Illuminate\Routing\Router:toResponse in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:789 #34 Illuminate\Routing\Router:prepareResponse in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721 #33 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/Debug.php:41 #31 App\Http\Middleware\Debug:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/EcommerceDomain.php:34 #29 App\Http\Middleware\EcommerceDomain:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 #27 Illuminate\Routing\Middleware\SubstituteBindings:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #25 Illuminate\Cookie\Middleware\EncryptCookies:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #24 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #23 Illuminate\Pipeline\Pipeline:then in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723 #22 Illuminate\Routing\Router:runRouteWithinStack in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698 #21 Illuminate\Routing\Router:runRoute in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 #20 Illuminate\Routing\Router:dispatchToRoute in /code/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651 #19 Illuminate\Routing\Router:dispatch in /code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 #18 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59 #16 Barryvdh\Debugbar\Middleware\InjectDebugbar:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/XFrameOptions.php:19 #14 App\Http\Middleware\XFrameOptions:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/Docs.php:23 #12 App\Http\Middleware\Docs:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/Database.php:74 #10 App\Http\Middleware\Database:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/app/Http/Middleware/PreflightResponse.php:22 #8 App\Http\Middleware\PreflightResponse:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 #6 Fruitcake\Cors\HandleCors:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #4 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #0 Illuminate\Foundation\Http\Kernel:handle in /code/public/index.php:67
49
Illuminate\View\ViewException
/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php419
48
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
47
ErrorException
/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php419
46
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php419
45
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
44
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
43
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
42
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
41
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
40
Illuminate\View\View getContents
/vendor/laravel/framework/src/Illuminate/View/View.php122
39
Illuminate\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
38
Illuminate\View\View render
/vendor/laravel/framework/src/Illuminate/Http/Response.php69
37
Illuminate\Http\Response setContent
/vendor/laravel/framework/src/Illuminate/Http/Response.php35
36
Illuminate\Http\Response __construct
/vendor/laravel/framework/src/Illuminate/Routing/Router.php820
35
Illuminate\Routing\Router toResponse
/vendor/laravel/framework/src/Illuminate/Routing/Router.php789
34
Illuminate\Routing\Router prepareResponse
/vendor/laravel/framework/src/Illuminate/Routing/Router.php721
33
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
32
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/Debug.php41
31
App\Http\Middleware\Debug handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/EcommerceDomain.php34
29
App\Http\Middleware\EcommerceDomain handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php50
27
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
25
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
24
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
23
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php723
22
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php698
21
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php662
20
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php651
19
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php167
18
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php59
16
Barryvdh\Debugbar\Middleware\InjectDebugbar handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/XFrameOptions.php19
14
App\Http\Middleware\XFrameOptions handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/Docs.php23
12
App\Http\Middleware\Docs handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/Database.php74
10
App\Http\Middleware\Database handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/PreflightResponse.php22
8
App\Http\Middleware\PreflightResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fruitcake/laravel-cors/src/HandleCors.php38
6
Fruitcake\Cors\HandleCors handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
4
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php142
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php67
/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        },
                                        'error': function(erro){
                                            iziToast.warning({title: 'Aviso', message: 'Erro ao enviar e-mail. Tente novamente mais tarde'});
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        }
                                    });
                                });
                            </script>
                            <?php $__env->stopPush(); ?>
                            <?php endif; ?>
                            <button type="button" id="btn-orcamento" class="button-opcao">
                                <img src="<?php echo e(path('icon-plus-cat-inst.png')); ?>"> orçamento
                            </button>
                        </div>
                        <a href="/<?php echo e($produto->categories->first()->urls->first()->url); ?>" class="link-veja-todos">
                            <img src="<?php echo e(path('arrow-right-prod-inst.png')); ?>"> veja todos os produtos
                        </a>
                    </div>
                </div>
                
                
                <?php if($produto->extraFields->has('texto_1') ||
                    $produto->extraFields->has('texto_2') ||
                    $produto->extraFields->has('texto_3') ||
                    $produto->extraFields->has('texto_4') ||
                    $produto->extraFields->has('texto_5') ||
                    $produto->extraFields->has('texto_6')): ?>
                <div id="icones-prod-inst">
                    <h2 class="details" data-aos="fade-in">detalhes do produto</h2>
                    <div class="detalhes-tecnicos">
                        <?php if($produto->extraFields->has('texto_1')): ?>
                        <div>
                            <?php if($produto->extraFields->has('icone_tecnico_1')): ?>
                            <div class="icone">
                                <img class="img-fluid" src="<?php echo e($produto->extraFields->get('icone_tecnico_1')->values->first()->source); ?>"
Arguments
  1. "Attempt to read property "urls" on null (View: /code/resources/views/stores/flexform/1/produto-institucional.blade.php)"
    
/code/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    /**
     * 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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Arguments
  1. ErrorException {#8540
      #message: "Attempt to read property "urls" on null"
      #code: 0
      #file: "/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php"
      #line: 419
      #severity: E_WARNING
    }
    
  2. 1
    
/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        },
                                        'error': function(erro){
                                            iziToast.warning({title: 'Aviso', message: 'Erro ao enviar e-mail. Tente novamente mais tarde'});
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        }
                                    });
                                });
                            </script>
                            <?php $__env->stopPush(); ?>
                            <?php endif; ?>
                            <button type="button" id="btn-orcamento" class="button-opcao">
                                <img src="<?php echo e(path('icon-plus-cat-inst.png')); ?>"> orçamento
                            </button>
                        </div>
                        <a href="/<?php echo e($produto->categories->first()->urls->first()->url); ?>" class="link-veja-todos">
                            <img src="<?php echo e(path('arrow-right-prod-inst.png')); ?>"> veja todos os produtos
                        </a>
                    </div>
                </div>
                
                
                <?php if($produto->extraFields->has('texto_1') ||
                    $produto->extraFields->has('texto_2') ||
                    $produto->extraFields->has('texto_3') ||
                    $produto->extraFields->has('texto_4') ||
                    $produto->extraFields->has('texto_5') ||
                    $produto->extraFields->has('texto_6')): ?>
                <div id="icones-prod-inst">
                    <h2 class="details" data-aos="fade-in">detalhes do produto</h2>
                    <div class="detalhes-tecnicos">
                        <?php if($produto->extraFields->has('texto_1')): ?>
                        <div>
                            <?php if($produto->extraFields->has('icone_tecnico_1')): ?>
                            <div class="icone">
                                <img class="img-fluid" src="<?php echo e($produto->extraFields->get('icone_tecnico_1')->values->first()->source); ?>"
Arguments
  1. "Attempt to read property "urls" on null"
    
Exception message: Attempt to read property "urls" on null
/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        },
                                        'error': function(erro){
                                            iziToast.warning({title: 'Aviso', message: 'Erro ao enviar e-mail. Tente novamente mais tarde'});
                                            
                                            loading.addClass('hide');
                                            body.removeClass('overflowhidden');
                                        }
                                    });
                                });
                            </script>
                            <?php $__env->stopPush(); ?>
                            <?php endif; ?>
                            <button type="button" id="btn-orcamento" class="button-opcao">
                                <img src="<?php echo e(path('icon-plus-cat-inst.png')); ?>"> orçamento
                            </button>
                        </div>
                        <a href="/<?php echo e($produto->categories->first()->urls->first()->url); ?>" class="link-veja-todos">
                            <img src="<?php echo e(path('arrow-right-prod-inst.png')); ?>"> veja todos os produtos
                        </a>
                    </div>
                </div>
                
                
                <?php if($produto->extraFields->has('texto_1') ||
                    $produto->extraFields->has('texto_2') ||
                    $produto->extraFields->has('texto_3') ||
                    $produto->extraFields->has('texto_4') ||
                    $produto->extraFields->has('texto_5') ||
                    $produto->extraFields->has('texto_6')): ?>
                <div id="icones-prod-inst">
                    <h2 class="details" data-aos="fade-in">detalhes do produto</h2>
                    <div class="detalhes-tecnicos">
                        <?php if($produto->extraFields->has('texto_1')): ?>
                        <div>
                            <?php if($produto->extraFields->has('icone_tecnico_1')): ?>
                            <div class="icone">
                                <img class="img-fluid" src="<?php echo e($produto->extraFields->get('icone_tecnico_1')->values->first()->source); ?>"
Arguments
  1. 2
    
  2. "Attempt to read property "urls" on null"
    
  3. "/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php"
    
  4. 419
    
/code/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php"
    
/code/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/code/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    }
 
    /**
     * 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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. "/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php"
    
  2. array:8 [
      "__env" => Illuminate\View\Factory {#785}
      "app" => Illuminate\Foundation\Application {#2}
      "menu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#1936}
      "header" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2013}
      "produto" => App\DataProviders\Ecommerce\ItemFromUrl {#2077}
      "cores" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2261}
      "catsmenu" => App\DataProviders\Ecommerce\Categories {#2286}
      "headermenu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#2320}
    ]
    
/code/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @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);
        }
 
        // 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($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/code/storage/framework/views/90898006713d0c7580c8f5f2f7e960748920186a.php"
    
  2. array:8 [
      "__env" => Illuminate\View\Factory {#785}
      "app" => Illuminate\Foundation\Application {#2}
      "menu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#1936}
      "header" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2013}
      "produto" => App\DataProviders\Ecommerce\ItemFromUrl {#2077}
      "cores" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2261}
      "catsmenu" => App\DataProviders\Ecommerce\Categories {#2286}
      "headermenu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#2320}
    ]
    
/code/vendor/laravel/framework/src/Illuminate/View/View.php
        $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
     */
    public 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. "/code/resources/views/stores/flexform/1/produto-institucional.blade.php"
    
  2. array:8 [
      "__env" => Illuminate\View\Factory {#785}
      "app" => Illuminate\Foundation\Application {#2}
      "menu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#1936}
      "header" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2013}
      "produto" => App\DataProviders\Ecommerce\ItemFromUrl {#2077}
      "cores" => App\DataProviders\Ecommerce\VirtualEntityRecordRelatedItems {#2261}
      "catsmenu" => App\DataProviders\Ecommerce\Categories {#2286}
      "headermenu" => App\DataProviders\Ecommerce\CategoriesByTagIds {#2320}
    ]
    
/code/vendor/laravel/framework/src/Illuminate/View/View.php
 
            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());
    }
 
    /**
/code/vendor/laravel/framework/src/Illuminate/View/View.php
        $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) ? $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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/code/vendor/laravel/framework/src/Illuminate/Http/Response.php
        $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 ($content === false) {
                throw new InvalidArgumentException(json_last_error_msg());
            }
        }
 
        // 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);
/code/vendor/laravel/framework/src/Illuminate/Http/Response.php
{
    use ResponseTrait, Macroable {
        Macroable::__call as macroCall;
    }
 
    /**
     * Create a new HTTP response.
     *
     * @param  mixed  $content
     * @param  int  $status
     * @param  array  $headers
     * @return void
     *
     * @throws \InvalidArgumentException
     */
    public function __construct($content = '', $status = 200, array $headers = [])
    {
        $this->headers = new ResponseHeaderBag($headers);
 
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Set the content on the response.
     *
     * @param  mixed  $content
     * @return $this
     *
     * @throws \InvalidArgumentException
     */
    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)) {
Arguments
  1. Illuminate\View\View {#2236}
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif ($response instanceof Model && $response->wasRecentlyCreated) {
            $response = new JsonResponse($response, 201);
        } elseif ($response instanceof Stringable) {
            $response = new Response($response->__toString(), 200, ['Content-Type' => 'text/html']);
        } elseif (! $response instanceof SymfonyResponse &&
                   ($response instanceof Arrayable ||
                    $response instanceof Jsonable ||
                    $response instanceof ArrayObject ||
                    $response instanceof JsonSerializable ||
                    $response instanceof \stdClass ||
                    is_array($response))) {
            $response = new JsonResponse($response);
        } elseif (! $response instanceof SymfonyResponse) {
            $response = new Response($response, 200, ['Content-Type' => 'text/html']);
        }
 
        if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
            $response->setNotModified();
        }
 
        return $response->prepare($request);
    }
 
    /**
     * Substitute the route bindings onto the route.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return \Illuminate\Routing\Route
     *
     * @throws \Illuminate\Database\Eloquent\ModelNotFoundException
     */
    public function substituteBindings($route)
    {
        foreach ($route->parameters() as $key => $value) {
Arguments
  1. Illuminate\View\View {#2236}
    
  2. 200
    
  3. array:1 [
      "Content-Type" => "text/html"
    ]
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * Sort the given middleware by priority.
     *
     * @param  \Illuminate\Support\Collection  $middlewares
     * @return array
     */
    protected function sortMiddleware(Collection $middlewares)
    {
        return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
    }
 
    /**
     * Create a response instance from the given value.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function prepareResponse($request, $response)
    {
        return static::toResponse($request, $response);
    }
 
    /**
     * Static version of prepareResponse.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @param  mixed  $response
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public static function toResponse($request, $response)
    {
        if ($response instanceof Responsable) {
            $response = $response->toResponse($request);
        }
 
        if ($response instanceof PsrResponseInterface) {
            $response = (new HttpFoundationFactory)->createResponse($response);
        } elseif ($response instanceof Model && $response->wasRecentlyCreated) {
            $response = new JsonResponse($response, 201);
        } elseif ($response instanceof Stringable) {
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\View\View {#2236}
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\View\View {#2236}
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/app/Http/Middleware/Debug.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If is store development then should enable debug
        if ($request instanceof SymfonyRequest
            && $this->isDebugableEnvironment($request)
        ) {
            \Config::set('app.debug', true);
            \Config::set('debugbar.enabled', $this->debugbarEnabled($request));
        }
 
        return $next($request);
    }
 
    /**
     * Must be enabled if was general enabled or enabled to some specific
     * environment.
     *
     * @param $request
     *
     * @return bool
     */
    private function debugbarEnabled(SymfonyRequest $request)
    {
        return \Config::get('debugbar.enabled')
 
            || ($this->environment->storeDevelopment($request->getHttpHost())
                && \Config::get('debugbar.store-environment-enabled'))
 
            || ($this->environment->preview($request->getHttpHost())
                && \Config::get('debugbar.preview-environment-enabled'));
    }
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#765 …4}
    
/code/app/Http/Middleware/EcommerceDomain.php
    /**
     * Handle an incoming request.
     * Identify tenants by domain. Set Ecommerce running flag flag.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure                  $next
     *
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle(Request $request, Closure $next): Response
    {
        \EcommerceCurrentRequestData::setRunning(true);
        \View::addExtension('html', 'blade');
 
        try {
            app(DomainIdentifier::class)
                ->setHost($request->getHost())
                ->identify();
 
            return $next($request);
        } catch (ModelNotFoundException $e) {
            return new HttpResponse(
                view('errors.ecommerce.store-not-found'),
                HttpResponse::HTTP_NOT_FOUND
            );
        } catch (MustBeRedirectedException $e) {
            return $e->getRedirector();
        }
 
    }
}
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#762 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        try {
            $this->router->substituteBindings($route = $request->route());
 
            $this->router->substituteImplicitBindings($route);
        } catch (ModelNotFoundException $exception) {
            if ($route->getMissing()) {
                return $route->getMissing()($request, $exception);
            }
 
            throw $exception;
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#761 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $cookie) {
            if ($this->isDisabled($key) || is_array($cookie)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#760 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->reject(function ($name) use ($excluded) {
            if (empty($excluded)) {
Arguments
  1. Closure($request) {#763 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
Arguments
  1. Illuminate\Routing\Route {#767}
    
  2. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $route->setContainer($this->container);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Routing\Route {#767}
    
/code/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php
     * @param  LaravelDebugbar $debugbar
     */
    public function __construct(Container $container, LaravelDebugbar $debugbar)
    {
        $this->container = $container;
        $this->debugbar = $debugbar;
        $this->except = config('debugbar.except') ?: [];
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  Request  $request
     * @param  Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
            return $next($request);
        }
 
        $this->debugbar->boot();
 
        try {
            /** @var \Illuminate\Http\Response $response */
            $response = $next($request);
        } catch (Throwable $e) {
            $response = $this->handleException($request, $e);
        }
 
        // Modify the response to add the Debugbar
        $this->debugbar->modifyResponse($request, $response);
 
        return $response;
    }
 
    /**
     * Handle the given exception.
     *
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#480 …4}
    
/code/app/Http/Middleware/XFrameOptions.php
<?php
 
namespace App\Http\Middleware;
 
use Closure;
 
class XFrameOptions
{
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        if(method_exists($response, 'header')) {
 
            $response->header(
                'X-Frame-Options',
                'SAMEORIGIN'
            );
 
        }
 
        return $response;
    }
 
}
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#479 …4}
    
/code/app/Http/Middleware/Docs.php
 
use App\Http\Middleware\Exceptions\DocsSubdomainIsNotNaked;
use Closure;
 
class Docs
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if($this->isDoc($request) && !$this->isNaked($request)) {
            throw new DocsSubdomainIsNotNaked();
        }
 
        return $next($request);
    }
 
    /**
     * Check if this path is docs
     *
     * @param $request
     * @return bool
     */
    private function isDoc($request): bool
    {
        return $request->path() == config('l5-swagger.routes.api');
    }
 
    /**
     * Check if there is no subdomain
     *
     * @param $request
     * @return bool
     */
    private function isNaked($request): bool
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#478 …4}
    
/code/app/Http/Middleware/Database.php
            $this->erp($request);
            return $next($request);
        }
 
        $domain = $this->clearRouteDomain($request);
        $database = $this->ecommerce
            ->setDomain($domain)
            ->resolve();
 
        if(is_null($database)) {
            \Log::warning(
                'Domain `'.$domain.'` not found',
                ['url' => $request->fullUrl(), 'root' => $request->root()]
            );
            throw new DomainNotFoundException('Domain `'.$domain.'` not found');
        }
 
        $this->changeDatabase->change($database);
 
        return $next($request);
    }
 
    /**
     * Change database for ERP
     *
     * @param \Illuminate\Http\Request $request
     */
    private function erp(Request $request)
    {
        $subdomain = $this->subdomain(
            $this->clearRoute(config('app.url')),
            $this->clearRouteDomain($request)
        );
 
        if ($subdomain) {
            $this->changeDatabase->change($subdomain);
            return;
        }
 
        // If user is looking for doc or health check we do not need any
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#477 …4}
    
/code/app/Http/Middleware/PreflightResponse.php
namespace App\Http\Middleware;
 
use Closure;
 
class PreflightResponse
{
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if ($request->isMethod('OPTIONS')) {
            return response()->json('{"method":"OPTIONS"}', 200);
        }
 
        return $next($request);
    }
}
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#476 …4}
    
/code/vendor/fruitcake/laravel-cors/src/HandleCors.php
    protected $container;
 
    public function __construct(CorsService $cors, Container $container)
    {
        $this->cors = $cors;
        $this->container = $container;
    }
 
    /**
     * Handle an incoming request. Based on Asm89\Stack\Cors by asm89
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return Response
     */
    public function handle($request, Closure $next)
    {
        // Check if we're dealing with CORS and if we should handle it
        if (! $this->shouldRun($request)) {
            return $next($request);
        }
 
        // For Preflight, return the Preflight response
        if ($this->cors->isPreflightRequest($request)) {
            $response = $this->cors->handlePreflightRequest($request);
 
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
 
            return $response;
        }
 
 
        // Handle the request
        $response = $next($request);
 
        if ($request->getMethod() === 'OPTIONS') {
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
        }
 
        return $this->addHeaders($request, $response);
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#475 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                }
            }
 
            if (isset($data['template'])) {
                return response(
                    $data['template'],
                    $data['status'] ?? 503,
                    $this->getHeaders($data)
                );
            }
 
            throw new HttpException(
                $data['status'] ?? 503,
                'Service Unavailable',
                null,
                $this->getHeaders($data)
            );
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the incoming request has a maintenance mode bypass cookie.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $data
     * @return bool
     */
    protected function hasValidBypassCookie($request, array $data)
    {
        return isset($data['secret']) &&
                $request->cookie('laravel_maintenance') &&
                MaintenanceModeBypassCookie::isValid(
                    $request->cookie('laravel_maintenance'),
                    $data['secret']
                );
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#474 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
Arguments
  1. Closure($request) {#35 …4}
    
/code/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Throwable $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    
/code/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$responseCache = new \Bootstrap\ResponseCache\ResponseCache(
    new \Bootstrap\ResponseCache\Server,
    new \App\Helpers\Environment,
    new \Detection\MobileDetect
);
 
// Set cache for next request
$responseCache->set($request, $response);
 
$response->send();
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#49
      #json: Symfony\Component\HttpFoundation\ParameterBag {#2087}
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#755 …4}
      #routeResolver: Closure() {#466 …4}
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +request: Symfony\Component\HttpFoundation\InputBag {#57}
      +query: Symfony\Component\HttpFoundation\InputBag {#57}
      +server: Symfony\Component\HttpFoundation\ServerBag {#53}
      +files: Symfony\Component\HttpFoundation\FileBag {#54}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#52}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#55}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #requestUri: "/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      -isIisRewrite: false
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"********"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"flexform.store.betalabs.net"
PATH_INFO
""
SCRIPT_FILENAME
"**********************"
REDIRECT_STATUS
"200"
SERVER_NAME
"~^(.*)\.store\.betalabs\.net$"
SERVER_PORT
"443"
SERVER_ADDR
"172.12.9.221"
REMOTE_PORT
"42016"
REMOTE_ADDR
"44.220.251.57"
SERVER_SOFTWARE
"nginx/1.18.0"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"************"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/institucional/cadeira-de-escritorio/cadeira-de-escritorio-finora"
SCRIPT_NAME
"**********"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"**********"
REQUEST_TIME_FLOAT
"***"
REQUEST_TIME
"***"
empty
0. Whoops\Handler\PrettyPageHandler