InvalidArgumentException
Please supply a valid name. InvalidArgumentException thrown with message "Please supply a valid name." Stacktrace: #63 InvalidArgumentException in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/CartItem.php:85 #62 Botble\Ecommerce\Cart\CartItem:__construct in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/CartItem.php:332 #61 Botble\Ecommerce\Cart\CartItem:fromAttributes in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/Cart.php:185 #60 Botble\Ecommerce\Cart\Cart:createCartItem in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/Cart.php:113 #59 Botble\Ecommerce\Cart\Cart:add in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Supports/EcommerceHelper.php:714 #58 Botble\Ecommerce\Supports\EcommerceHelper:handleCustomerRecentlyViewedProduct in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #57 Illuminate\Support\Facades\Facade:__callStatic in /home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Http/Controllers/Fronts/PublicProductController.php:222 #56 Botble\Ecommerce\Http\Controllers\Fronts\PublicProductController:getProduct in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:48 #55 Illuminate\Routing\ControllerDispatcher:dispatch in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262 #54 Illuminate\Routing\Route:runController in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 #53 Illuminate\Routing\Route:run in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721 #52 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #51 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/platform/plugins/language/src/Http/Middleware/LocalizationRedirectFilter.php:58 #50 Botble\Language\Http\Middleware\LocalizationRedirectFilter:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #49 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/platform/plugins/language/src/Http/Middleware/LocaleSessionRedirect.php:66 #48 Botble\Language\Http\Middleware\LocaleSessionRedirect:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #47 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php:18 #46 Botble\Base\Http\Middleware\CoreMiddleware:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #45 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php:22 #44 Botble\Base\Http\Middleware\HttpsProtocolMiddleware:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #43 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php:38 #42 Botble\Base\Http\Middleware\LocaleMiddleware:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/botble/installer/src/Http/Middleware/RedirectIfNotInstalledMiddleware.php:25 #40 Botble\Installer\Http\Middleware\RedirectIfNotInstalledMiddleware:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 #38 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #37 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #36 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #34 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #32 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #31 Illuminate\Session\Middleware\StartSession:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #29 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #27 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #25 Illuminate\Pipeline\Pipeline:then in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723 #24 Illuminate\Routing\Router:runRouteWithinStack in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698 #23 Illuminate\Routing\Router:runRoute in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 #22 Illuminate\Routing\Router:dispatchToRoute in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651 #21 Illuminate\Routing\Router:dispatch in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 #20 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:61 #18 Botble\JsValidation\RemoteValidationMiddleware:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #16 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 #15 Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #13 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 #12 Illuminate\Foundation\Http\Middleware\TrimStrings:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #10 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #8 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 #6 Fruitcake\Cors\HandleCors:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39 #4 Illuminate\Http\Middleware\TrustProxies:handle in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #0 Illuminate\Foundation\Http\Kernel:handle in /home/computo/www2.computo.com.pe/public/index.php:56
63
InvalidArgumentException
/platform/plugins/ecommerce/src/Cart/CartItem.php85
62
Botble\Ecommerce\Cart\CartItem __construct
/platform/plugins/ecommerce/src/Cart/CartItem.php332
61
Botble\Ecommerce\Cart\CartItem fromAttributes
/platform/plugins/ecommerce/src/Cart/Cart.php185
60
Botble\Ecommerce\Cart\Cart createCartItem
/platform/plugins/ecommerce/src/Cart/Cart.php113
59
Botble\Ecommerce\Cart\Cart add
/platform/plugins/ecommerce/src/Supports/EcommerceHelper.php714
58
Botble\Ecommerce\Supports\EcommerceHelper handleCustomerRecentlyViewedProduct
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
57
Illuminate\Support\Facades\Facade __callStatic
/platform/plugins/ecommerce/src/Http/Controllers/Fronts/PublicProductController.php222
56
Botble\Ecommerce\Http\Controllers\Fronts\PublicProductController getProduct
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php48
55
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php262
54
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php205
53
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php721
52
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
51
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/platform/plugins/language/src/Http/Middleware/LocalizationRedirectFilter.php58
50
Botble\Language\Http\Middleware\LocalizationRedirectFilter handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
49
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/platform/plugins/language/src/Http/Middleware/LocaleSessionRedirect.php66
48
Botble\Language\Http\Middleware\LocaleSessionRedirect handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
47
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php18
46
Botble\Base\Http\Middleware\CoreMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
45
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php22
44
Botble\Base\Http\Middleware\HttpsProtocolMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
43
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php38
42
Botble\Base\Http\Middleware\LocaleMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
41
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/installer/src/Http/Middleware/RedirectIfNotInstalledMiddleware.php25
40
Botble\Installer\Http\Middleware\RedirectIfNotInstalledMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
39
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php50
38
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
37
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
36
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
35
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
34
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
32
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
31
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
29
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
27
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
25
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php723
24
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php698
23
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php662
22
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php651
21
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php167
20
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php61
18
Botble\JsValidation\RemoteValidationMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
16
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php31
15
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
13
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php40
12
Illuminate\Foundation\Http\Middleware\TrimStrings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
10
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
8
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance 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/Http/Middleware/TrustProxies.php39
4
Illuminate\Http\Middleware\TrustProxies 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.php56
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/CartItem.php
     *
     * @var int|float
     */
    protected $taxRate = 0;
 
    /**
     * CartItem constructor.
     *
     * @param int|string $id
     * @param string $name
     * @param float $price
     * @param array $options
     */
    public function __construct($id, $name, $price, array $options = [])
    {
        if (empty($id)) {
            throw new InvalidArgumentException('Please supply a valid identifier.');
        }
        if (empty($name)) {
            throw new InvalidArgumentException('Please supply a valid name.');
        }
        if (strlen($price) < 0 || !is_numeric($price)) {
            throw new InvalidArgumentException('Please supply a valid price.');
        }
 
        $this->id = $id;
        $this->name = $name;
        $this->price = floatval($price);
        $this->options = new CartItemOptions($options);
        $this->rowId = $this->generateRowId($id, $options);
        $this->created_at = Carbon::now();
        $this->updated_at = Carbon::now();
    }
 
    /**
     * Returns the formatted price without TAX.
     *
     * @return string
     */
    public function price()
Arguments
  1. "Please supply a valid name."
    
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/CartItem.php
     */
    public static function fromArray(array $attributes)
    {
        $options = Arr::get($attributes, 'options', []);
 
        return new self($attributes['id'], $attributes['name'], $attributes['price'], $options);
    }
 
    /**
     * Create a new instance from the given attributes.
     *
     * @param int|string $id
     * @param string $name
     * @param float $price
     * @param array $options
     * @return CartItem
     */
    public static function fromAttributes($id, $name, $price, array $options = [])
    {
        return new self($id, $name, $price, $options);
    }
 
    /**
     * Generate a unique id for the cart item.
     *
     * @param string $id
     * @param array $options
     * @return string
     */
    protected function generateRowId($id, array $options)
    {
        ksort($options);
 
        return md5($id . serialize($options));
    }
 
    /**
     * Get the instance as an array.
     *
     * @return array
Arguments
  1. 13527
    
  2. ""
    
  3. 23.0
    
  4. []
    
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/Cart.php
                        }
                        $price = $price + $_value['affect_price'];
                    }
                } else {
                    if ($_value['affect_type'] == 1) {
                        $_value['affect_price'] = ($basePrice * $_value['affect_price']) / 100;
                    }
                    $price = $price + $value['affect_price'];
                }
            }
        }
        if ($id instanceof Buyable) {
            $cartItem = CartItem::fromBuyable($id, $qty ?: []);
            $cartItem->setQuantity($name ?: 1);
            $cartItem->associate($id);
        } elseif (is_array($id)) {
            $cartItem = CartItem::fromArray($id);
            $cartItem->setQuantity($id['qty']);
        } else {
            $cartItem = CartItem::fromAttributes($id, $name, $price, $options);
            $cartItem->setQuantity($qty);
        }
 
        $cartItem->setTaxRate($options['taxRate'] ?? 0);
 
        return $cartItem;
    }
 
    /**
     * Get the carts content, if there is no cart content set yet, return a new empty Collection
     *
     * @return Collection
     */
    protected function getContent()
    {
        return $this->session->has($this->instance)
            ? $this->session->get($this->instance)
            : new Collection();
    }
 
Arguments
  1. 13527
    
  2. ""
    
  3. 23.0
    
  4. []
    
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Cart/Cart.php
 
    /**
     * Add an item to the cart.
     *
     * @param mixed $id
     * @param mixed $name
     * @param int|float $qty
     * @param float $price
     * @param array $options
     * @return array|CartItem
     */
    public function add($id, $name = null, $qty = null, $price = null, array $options = [])
    {
        if ($this->isMulti($id)) {
            return array_map(function ($item) {
                return $this->add($item);
            }, $id);
        }
 
        $cartItem = $this->createCartItem($id, $name, $qty, $price, $options);
 
        $content = $this->getContent();
 
        if ($content->has($cartItem->rowId)) {
            $cartItem->qty += $content->get($cartItem->rowId)->qty;
        }
 
        $content->put($cartItem->rowId, $cartItem);
 
        $this->events->dispatch('cart.added', $cartItem);
 
        $this->putToSession($content);
 
        return $cartItem;
    }
 
    /**
     * Check if the item is a multidimensional array or an array of Buyables.
     *
     * @param mixed $item
Arguments
  1. 13527
    
  2. ""
    
  3. 1
    
  4. 23.0
    
  5. []
    
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Supports/EcommerceHelper.php
     */
    public function handleCustomerRecentlyViewedProduct(Product $product): self
    {
        if (!$this->isEnabledCustomerRecentlyViewedProducts()) {
            return $this;
        }
 
        $max = $this->maxCustomerRecentlyViewedProducts();
 
        if (!auth('customer')->check()) {
            $instance = Cart::instance('recently_viewed');
 
            $first = $instance->search(function ($cartItem) use ($product) {
                return $cartItem->id == $product->id;
            })->first();
 
            if ($first) {
                $instance->update($first->rowId, 1);
            } else {
                $instance->add($product->id, $product->name, 1, $product->front_sale_price)->associate(Product::class);
            }
 
            if ($max) {
                $content = collect($instance->content());
                if ($content->count() > $max) {
                    $content
                        ->sortBy([['updated_at', 'desc']])
                        ->skip($max)
                        ->each(function ($cartItem) use ($instance) {
                            $instance->remove($cartItem->rowId);
                        });
                }
            }
        } else {
            /**
             * @var Customer $customer
             */
            $customer = auth('customer')->user();
            $viewedProducts = $customer->viewedProducts;
            $exists = $viewedProducts->firstWhere('id', $product->id);
Arguments
  1. 13527
    
  2. ""
    
  3. 1
    
  4. 23.0
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array  $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
Arguments
  1. Botble\Ecommerce\Models\Product {#3072}
    
/home/computo/www2.computo.com.pe/platform/plugins/ecommerce/src/Http/Controllers/Fronts/PublicProductController.php
        }
 
        if ($product->slugable->key !== $slug->key) {
            return redirect()->to($product->url);
        }
 
        SeoHelper::setTitle($product->name)->setDescription($product->description);
 
        $meta = new SeoOpenGraph();
        if ($product->image) {
            $meta->setImage(RvMedia::getImageUrl($product->image));
        }
        $meta->setDescription($product->description);
        $meta->setUrl($product->url);
        $meta->setTitle($product->name);
 
        SeoHelper::setSeoOpenGraph($meta);
 
        Helper::handleViewCount($product, 'viewed_product');
        EcommerceHelper::handleCustomerRecentlyViewedProduct($product);
 
        Theme::breadcrumb()
            ->add(__('Home'), route('public.index'))
            ->add(__('Products'), route('public.products'));
 
        $category = $product->categories->sortByDesc('id')->first();
 
        if ($category) {
            if ($category->parents->count()) {
                foreach ($category->parents->reverse() as $parentCategory) {
                    Theme::breadcrumb()->add($parentCategory->name, $parentCategory->url);
                }
            }
 
            Theme::breadcrumb()->add($category->name, $category->url);
        }
 
        Theme::breadcrumb()->add($product->name, $product->url);
 
        admin_bar()
Arguments
  1. "handleCustomerRecentlyViewedProduct"
    
  2. array:1 [
      0 => Botble\Ecommerce\Models\Product {#3072}
    ]
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
        })->pluck('middleware')->all();
    }
 
Arguments
  1. Botble\Slug\Models\Slug {#3046}
    
  2. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     * Determine if the route action is a serialized Closure.
     *
     * @return bool
     */
    protected function isSerializedClosure()
    {
        return RouteAction::containsSerializedClosure($this->action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
Arguments
  1. Illuminate\Routing\Route {#2234}
    
  2. Botble\Ecommerce\Http\Controllers\Fronts\PublicProductController {#3014}
    
  3. "getProduct"
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']) && ! $this->isSerializedClosure();
    }
 
    /**
     * Run the route action and return the response.
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Routing/Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/platform/plugins/language/src/Http/Middleware/LocalizationRedirectFilter.php
                    $redirection = Language::getNonLocalizedURL();
                }
            } elseif ($currentLocale !== $defaultLocale || !$hideDefaultLocale) {
                // If the current url does not contain any locale
                // The system redirect the user to the very same url "localized"
                // we use the current locale to redirect him
                if (!Language::getActiveLanguage(['lang_id'])->isEmpty()) {
                    $redirection = Language::getLocalizedURL(session('language'), $request->fullUrl(), [], false);
                }
            }
 
            if ($redirection) {
                // Save any flashed data for redirect
                app('session')->reflash();
 
                return new RedirectResponse($redirection, 302, ['Vary' => 'Accept-Language']);
            }
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2975 …4}
    
/home/computo/www2.computo.com.pe/platform/plugins/language/src/Http/Middleware/LocaleSessionRedirect.php
            $negotiator = new LanguageNegotiator(
                Language::getDefaultLocale(),
                Language::getSupportedLocales(),
                $request
            );
 
            $locale = $negotiator->negotiateLanguage();
        }
 
        session(['language' => Language::getDefaultLocale()]);
        app()->setLocale(session('language'));
 
        if ($locale && Language::checkLocaleInSupportedLocales($locale) && !(Language::getDefaultLocale() === $locale && Language::hideDefaultLocaleInURL())) {
            app('session')->reflash();
            $redirection = Language::getLocalizedURL($locale, null, [], false);
 
            return new RedirectResponse($redirection, 302, ['Vary' => 'Accept-Language']);
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2968 …4}
    
/home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php
<?php
 
namespace Botble\Base\Http\Middleware;
 
use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
 
class CoreMiddleware
{
    /**
     * @param Request $request
     * @param Closure $next
     * @return RedirectResponse
     */
    public function handle($request, Closure $next)
    {
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2969 …4}
    
/home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php
namespace Botble\Base\Http\Middleware;
 
use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
 
class HttpsProtocolMiddleware
{
    /**
     * @param Request $request
     * @param Closure $next
     * @return RedirectResponse
     */
    public function handle($request, Closure $next)
    {
        if (!$request->secure() && config('core.base.general.enable_https_support', false)) {
            return redirect()->secure($request->getRequestUri());
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2803 …4}
    
/home/computo/www2.computo.com.pe/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php
     * @param Application $application
     */
    public function __construct(Application $application)
    {
        $this->app = $application;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->app->setLocale(config('app.locale'));
 
        if (!$request->session()->has('site-locale')) {
            return $next($request);
        }
 
        $sessionLocale = $request->session()->get('site-locale');
 
        if (array_key_exists($sessionLocale, Language::getAvailableLocales()) && is_in_admin()) {
            $this->app->setLocale($sessionLocale);
            $request->setLocale($sessionLocale);
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2967 …4}
    
/home/computo/www2.computo.com.pe/vendor/botble/installer/src/Http/Middleware/RedirectIfNotInstalledMiddleware.php
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Route;
 
class RedirectIfNotInstalledMiddleware extends InstallerMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return RedirectResponse|mixed
     */
    public function handle($request, Closure $next)
    {
        if (!$this->alreadyInstalled() && Route::current()->getPrefix() !== 'install') {
            return redirect()->route('installers.welcome');
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3015 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3016 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Session\TokenMismatchException
     */
    public function handle($request, Closure $next)
    {
        if (
            $this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->inExceptArray($request) ||
            $this->tokensMatch($request)
        ) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->shouldAddXsrfTokenCookie()) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException('CSRF token mismatch.');
    }
 
    /**
     * Determine if the HTTP request uses a ‘read’ verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function isReading($request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3017 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3018 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $this->startSession($request, $session)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return \Illuminate\Contracts\Session\Session
     */
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        $session = $this->getSession($request);
 
        if ($this->manager->shouldBlock() ||
            ($request->route() instanceof Route && $request->route()->locksFor())) {
            return $this->handleRequestWhileBlocking($request, $session, $next);
        }
 
        return $this->handleStatefulRequest($request, $session, $next);
    }
 
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Session\Store {#772}
    
  3. Closure($passable) {#3019 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3019 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3020 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#3021 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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) {#2971 …4}
    
/home/computo/www2.computo.com.pe/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 {#2234}
    
  2. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Illuminate\Routing\Route {#2234}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php
    {
        $this->factory = $validator;
        $this->field = $config->get('core.js-validation.js-validation.remote_validation_field');
        $this->escape = (bool)$config->get('core.js-validation.js-validation.escape', false);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->has($this->field)) {
            $this->wrapValidator();
        }
 
        return $next($request);
    }
 
    /**
     * Wraps Validator resolver with RemoteValidator resolver.
     *
     * @return void
     */
    protected function wrapValidator()
    {
        $resolver = new Resolver($this->factory, $this->escape);
        $this->factory->resolver($resolver->resolver($this->field));
        $this->factory->extend(RemoteValidator::EXTENSION_NAME, $resolver->validatorClosure());
    }
}
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2794 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
     * @var array
     */
    protected static $skipCallbacks = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            if ($callback($request)) {
                return $next($request);
            }
        }
 
        return parent::handle($request, $next);
    }
 
    /**
     * Transform the given value.
     *
     * @param  string  $key
     * @param  mixed  $value
     * @return mixed
     */
    protected function transform($key, $value)
    {
        return is_string($value) && $value === '' ? null : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
     *
     * @param  \Closure  $callback
     * @return void
     */
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2795 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2795 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
    protected $except = [
        //
    ];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            if ($callback($request)) {
                return $next($request);
            }
        }
 
        return parent::handle($request, $next);
    }
 
    /**
     * Transform the given value.
     *
     * @param  string  $key
     * @param  mixed  $value
     * @return mixed
     */
    protected function transform($key, $value)
    {
        if (in_array($key, $this->except, true)) {
            return $value;
        }
 
        return is_string($value) ? trim($value) : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2796 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2796 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        return $next($request);
    }
 
    /**
     * Determine the server 'post_max_size' as bytes.
     *
     * @return int
     */
    protected function getPostMaxSize()
    {
        if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
            return (int) $postMaxSize;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2797 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2798 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2799 …4}
    
/home/computo/www2.computo.com.pe/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
     * @var int
     */
    protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB;
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames());
 
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies() ?: config('trustedproxy.proxies');
 
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        $trustedIps = is_string($trustedIps)
                ? array_map('trim', explode(',', $trustedIps))
                : $trustedIps;
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#2800 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/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) {#2792 …4}
    
/home/computo/www2.computo.com.pe/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 {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    
/home/computo/www2.computo.com.pe/public/index.php
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
$app->bind('path.public', function() {
    return __DIR__;
});
 
$kernel = $app->make(Kernel::class);
 
$response = tap($kernel->handle(
    $request = Request::capture()
))->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#45
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/products/-176"
      #requestUri: "/products/-176"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Illuminate\Session\Store {#772}
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      #json: null
      #convertedFiles: []
      #userResolver: Closure($guard = null) {#2811 …4}
      #routeResolver: Closure() {#2809 …4}
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"computo"
HOME
"/home/computo"
SCRIPT_NAME
"/public/index.php"
REQUEST_URI
"/products/-176"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/public/products/-176"
REMOTE_PORT
"53248"
SCRIPT_FILENAME
"/home/computo/www2.computo.com.pe/public/index.php"
SERVER_ADMIN
"webmaster@www2.computo.com.pe"
CONTEXT_DOCUMENT_ROOT
"/home/computo/www2.computo.com.pe"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/computo/www2.computo.com.pe"
REMOTE_ADDR
"44.199.212.254"
SERVER_PORT
"443"
SERVER_ADDR
"66.85.139.218"
SERVER_NAME
"www2.computo.com.pe"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_HOST
"www2.computo.com.pe"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"www2.computo.com.pe"
HTTPS
"on"
UNIQUE_ID
"ZgUrkvBvHlZgwYpwjnMOQwAAABU"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"www2.computo.com.pe"
REDIRECT_HTTPS
"on"
REDIRECT_UNIQUE_ID
"ZgUrkvBvHlZgwYpwjnMOQwAAABU"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_SSL_TLS_SNI
"www2.computo.com.pe"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_UNIQUE_ID
"ZgUrkvBvHlZgwYpwjnMOQwAAABU"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711614866.7639
REQUEST_TIME
1711614866
argv
[]
argc
0
APP_NAME
"Botble CMS"
APP_DEBUG
"true"
ENABLE_HTTPS_SUPPORT
"true"
APP_ENV
"production"
APP_URL
"https://www2.computo.com.pe"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"****************"
DB_USERNAME
"***************"
DB_PASSWORD
"***************"
DB_STRICT
"false"
ADMIN_DIR
"*****"
Key Value
APP_NAME
"Botble CMS"
APP_DEBUG
"true"
ENABLE_HTTPS_SUPPORT
"true"
APP_ENV
"production"
APP_URL
"https://www2.computo.com.pe"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"****************"
DB_USERNAME
"***************"
DB_PASSWORD
"***************"
DB_STRICT
"false"
ADMIN_DIR
"*****"
0. Whoops\Handler\PrettyPageHandler