ErrorException (E_NOTICE)
Undefined index: value_solutions.html ErrorException thrown with message "Undefined index: value_solutions.html" Stacktrace: #42 ErrorException in /var/www/website/app/helpers.php:48 #41 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /var/www/website/app/helpers.php:48 #40 __get_footer in /var/www/website/app/helpers.php:75 #39 __get_common in /var/www/website/app/Admin/Controllers/HomeController.php:22 #38 App\Admin\Controllers\HomeController:index in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:48 #37 Illuminate\Routing\ControllerDispatcher:dispatch in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Route.php:212 #36 Illuminate\Routing\Route:runController in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Route.php:169 #35 Illuminate\Routing\Route:run in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 #34 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #33 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #32 Illuminate\Pipeline\Pipeline:then in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php:660 #31 Illuminate\Routing\Router:runRouteWithinStack in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php:635 #30 Illuminate\Routing\Router:runRoute in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php:601 #29 Illuminate\Routing\Router:dispatchToRoute in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php:590 #28 Illuminate\Routing\Router:dispatch in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 #27 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #26 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/fideloper/proxy/src/TrustProxies.php:56 #25 Fideloper\Proxy\TrustProxies:handle in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #24 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #23 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 #22 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #20 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 #19 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #18 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #17 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #16 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #14 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 #13 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #12 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/website/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #10 Illuminate\Pipeline\Pipeline:then in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #9 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #8 Illuminate\Foundation\Http\Kernel:handle in /var/www/website/vendor/hhxsv5/laravel-s/src/Illuminate/Laravel.php:153 #7 Hhxsv5\LaravelS\Illuminate\Laravel:handleDynamic in /var/www/website/vendor/hhxsv5/laravel-s/src/LaravelS.php:251 #6 Hhxsv5\LaravelS\LaravelS:handleDynamicResource in /var/www/website/vendor/hhxsv5/laravel-s/src/LaravelS.php:202 #5 Hhxsv5\LaravelS\LaravelS:onRequest in [internal]:0 #4 Swoole\Server:start in /var/www/website/vendor/hhxsv5/laravel-s/src/Swoole/Server.php:402 #3 Hhxsv5\LaravelS\Swoole\Server:run in /var/www/website/vendor/hhxsv5/laravel-s/src/Console/Portal.php:158 #2 Hhxsv5\LaravelS\Console\Portal:start in /var/www/website/vendor/hhxsv5/laravel-s/src/Console/Portal.php:59 #1 Hhxsv5\LaravelS\Console\Portal:execute in /var/www/website/vendor/symfony/console/Command/Command.php:255 #0 Symfony\Component\Console\Command\Command:run in /var/www/website/bin/laravels:160
42
ErrorException
/app/helpers.php48
41
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/app/helpers.php48
40
__get_footer
/app/helpers.php75
39
__get_common
/app/Admin/Controllers/HomeController.php22
38
App\Admin\Controllers\HomeController index
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php48
37
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php212
36
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php169
35
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php658
34
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php30
33
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php102
32
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php660
31
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php635
30
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php601
29
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php590
28
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php176
27
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php30
26
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php56
25
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
24
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
23
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php30
22
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
20
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php30
19
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
18
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
17
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
16
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
14
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php46
13
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php149
12
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53
11
Illuminate\Routing\Pipeline Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php102
10
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151
9
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
8
Illuminate\Foundation\Http\Kernel handle
/vendor/hhxsv5/laravel-s/src/Illuminate/Laravel.php153
7
Hhxsv5\LaravelS\Illuminate\Laravel handleDynamic
/vendor/hhxsv5/laravel-s/src/LaravelS.php251
6
Hhxsv5\LaravelS\LaravelS handleDynamicResource
/vendor/hhxsv5/laravel-s/src/LaravelS.php202
5
Hhxsv5\LaravelS\LaravelS onRequest
[internal]0
4
Swoole\Server start
/vendor/hhxsv5/laravel-s/src/Swoole/Server.php402
3
Hhxsv5\LaravelS\Swoole\Server run
/vendor/hhxsv5/laravel-s/src/Console/Portal.php158
2
Hhxsv5\LaravelS\Console\Portal start
/vendor/hhxsv5/laravel-s/src/Console/Portal.php59
1
Hhxsv5\LaravelS\Console\Portal execute
/vendor/symfony/console/Command/Command.php255
0
Symfony\Component\Console\Command\Command run
/bin/laravels160
/var/www/website/app/helpers.php
    return session('lang');
  }
}
 
if (!function_exists('__get_footer')) {
  function __get_footer()
  {
    $suffix = __get_suffix();
    $company = DB::table('website')->where('company', config('website.company'))->where('code', 'company')->first();
    $address = DB::table('website')->where('company', config('website.company'))->where('code', 'address')->first();
    $phone = DB::table('website')->where('company', config('website.company'))->where('code', 'phone')->first();
    $email = DB::table('website')->where('company', config('website.company'))->where('code', 'email')->first();
    $beian = DB::table('website')->where('company', config('website.company'))->where('code', 'beian')->first();
    $copyright = DB::table('website')->where('company', config('website.company'))->where('code', 'copyright')->first();
    $multi_sales_company = DB::table('website')->where('company', config('website.company'))->where('code', 'multi_sales_company')->first();
 
    $tmp = DB::table('website')->where('company', config('website.company'))->where('code', 'wechat')->first();
    $wechat = config('website.host.image_prefix').$tmp['image'];
    $tmp = DB::table('website')->where('company', config('website.company'))->where('code', 'wechat_official')->first();
    $wechat_official= $tmp['value'.$suffix];//config('website.host.image_prefix').$tmp['image'];
 
 
    $footer = [
      'company_name' => $company['value' . $suffix],
      'logo' => config('website.host.image_prefix') . $company['image'],
      'address' => $address['value' . $suffix],
      'phone' => $phone['value' . $suffix],
      'email' => $email['value' . $suffix],
      'beian' => $beian['value' . $suffix],
      'copyright' => $copyright['value' . $suffix],
      'wechat' => $wechat,
      'wechat_official' => $wechat_official,
      'multi_sales_company' => json_decode($multi_sales_company['value'.$suffix], TRUE)
    ];
    return $footer;
  }
}
if (!function_exists('__get_common')) {
  function __get_common($lang)
  {
Arguments
  1. "Undefined index: value_solutions.html"
    
/var/www/website/app/helpers.php
    return session('lang');
  }
}
 
if (!function_exists('__get_footer')) {
  function __get_footer()
  {
    $suffix = __get_suffix();
    $company = DB::table('website')->where('company', config('website.company'))->where('code', 'company')->first();
    $address = DB::table('website')->where('company', config('website.company'))->where('code', 'address')->first();
    $phone = DB::table('website')->where('company', config('website.company'))->where('code', 'phone')->first();
    $email = DB::table('website')->where('company', config('website.company'))->where('code', 'email')->first();
    $beian = DB::table('website')->where('company', config('website.company'))->where('code', 'beian')->first();
    $copyright = DB::table('website')->where('company', config('website.company'))->where('code', 'copyright')->first();
    $multi_sales_company = DB::table('website')->where('company', config('website.company'))->where('code', 'multi_sales_company')->first();
 
    $tmp = DB::table('website')->where('company', config('website.company'))->where('code', 'wechat')->first();
    $wechat = config('website.host.image_prefix').$tmp['image'];
    $tmp = DB::table('website')->where('company', config('website.company'))->where('code', 'wechat_official')->first();
    $wechat_official= $tmp['value'.$suffix];//config('website.host.image_prefix').$tmp['image'];
 
 
    $footer = [
      'company_name' => $company['value' . $suffix],
      'logo' => config('website.host.image_prefix') . $company['image'],
      'address' => $address['value' . $suffix],
      'phone' => $phone['value' . $suffix],
      'email' => $email['value' . $suffix],
      'beian' => $beian['value' . $suffix],
      'copyright' => $copyright['value' . $suffix],
      'wechat' => $wechat,
      'wechat_official' => $wechat_official,
      'multi_sales_company' => json_decode($multi_sales_company['value'.$suffix], TRUE)
    ];
    return $footer;
  }
}
if (!function_exists('__get_common')) {
  function __get_common($lang)
  {
Arguments
  1. 8
    
  2. "Undefined index: value_solutions.html"
    
  3. "/var/www/website/app/helpers.php"
    
  4. 48
    
  5. array:10 [
      "suffix" => "_solutions.html"
      "company" => array:11 [
        "id" => 1
        "code" => "company"
        "value" => "苏州沃联网络信息科技有限责任公司"
        "value_en" => "SUZHOU WOLINK TECHNOLOGY CO., LTD"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:17:12"
        "updated_at" => "2023-03-07 16:20:34"
        "type" => null
        "image" => "images/a81193d05272969190e3b8956fb9509d (1).png"
        "image_en" => null
        "index" => null
      ]
      "address" => array:11 [
        "id" => 2
        "code" => "address"
        "value" => "江苏省常熟市经济技术开发区高新技术产业园建业路2号1幢"
        "value_en" => "Building 1, No. 2, Jianye Road, High Tech Industrial Park, Economic and Technological Development Zone"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:21:06"
        "updated_at" => "2023-03-07 16:28:53"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => null
      ]
      "phone" => array:11 [
        "id" => 3
        "code" => "phone"
        "value" => "086-0512-52653176/18962393077"
        "value_en" => "086-0512-52653176/18962393077"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:21:47"
        "updated_at" => "2023-03-08 13:40:54"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => 1
      ]
      "email" => array:11 [
        "id" => 4
        "code" => "email"
        "value" => "tangk@wolink.com.cn"
        "value_en" => "tangk@wolink.com.cn"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:22:06"
        "updated_at" => "2023-03-07 16:22:06"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => null
      ]
      "beian" => array:11 [
        "id" => 6
        "code" => "beian"
        "value" => "<a target="_blank" href="https://beian.miit.gov.cn">苏ICP备 16054729号</a>"
        "value_en" => "<a target="_blank" href="https://beian.miit.gov.cn">苏ICP备 16054729号</a>"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:42:28"
        "updated_at" => "2023-03-07 16:42:28"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => null
      ]
      "copyright" => array:11 [
        "id" => 5
        "code" => "copyright"
        "value" => "© Copyright <strong>苏州沃联网络信息科技有限责任公司</strong>. All Rights Reserved"
        "value_en" => "© Copyright <strong>WOESL</strong>. All Rights Reserved"
        "company" => "沃联"
        "created_at" => "2023-03-07 16:41:22"
        "updated_at" => "2023-03-07 16:41:22"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => null
      ]
      "multi_sales_company" => array:11 [
        "id" => 115
        "code" => "multi_sales_company"
        "value" => """
          {\r\n
          \t"中国-苏州": {\r\n
          \t\t"phone": "086-0512-52653176/18962393077",\r\n
          \t\t"email": "tangk@wolink.com.cn",\r\n
          \t\t"address": "江苏省常熟市经济技术开发区高新技术产业园建业路2号1幢"\r\n
          \t}\r\n
          }
          """
        "value_en" => """
          {\r\n
          \t"Suzhou,China": {\r\n
          \t\t"phone": "086-0512-52653176/18962393077",\r\n
          \t\t"email": "tangk@wolink.com.cn",\r\n
          \t\t"address": "Building 1, No. 2, Jianye Road, High-tech Industrial Park, Economic and Technological Development Zone, Changshu City, Jiangsu Province"\r\n
          \t}\r\n
          }
          """
        "company" => "沃联"
        "created_at" => "2023-03-10 12:54:29"
        "updated_at" => "2023-03-10 13:59:12"
        "type" => null
        "image" => null
        "image_en" => null
        "index" => 1
      ]
      "tmp" => array:11 [
        "id" => 56
        "code" => "wechat_official"
        "value" => null
        "value_en" => null
        "company" => "沃联"
        "created_at" => "2023-03-09 09:19:23"
        "updated_at" => "2023-03-09 09:19:23"
        "type" => null
        "image" => "images/qrcode_for_gh_f056e597c77e_344.jpg"
        "image_en" => null
        "index" => 1
      ]
      "wechat" => "http://office.wolink.com.cn/upload/images/微信图片_20230309092443.png"
    ]
    
/var/www/website/app/helpers.php
      'email' => $email['value' . $suffix],
      'beian' => $beian['value' . $suffix],
      'copyright' => $copyright['value' . $suffix],
      'wechat' => $wechat,
      'wechat_official' => $wechat_official,
      'multi_sales_company' => json_decode($multi_sales_company['value'.$suffix], TRUE)
    ];
    return $footer;
  }
}
if (!function_exists('__get_common')) {
  function __get_common($lang)
  {
    if (strlen($lang) == 0) {
      session(['lang' => config('website.lang.default')]);
    } else {
      session(['lang' => $lang]);
    }
    $portfolio = [];
    $footer = __get_footer();
    $suffix = __get_suffix();
    $language = __get_language();
    app()->setLocale($language);
    $header = __('lang.header');
    $header['logo'] = $footer['logo'];
    $header['lang'] = $language;
    return [$suffix,  $header, $footer];
  }
}
 
/var/www/website/app/Admin/Controllers/HomeController.php
namespace App\Admin\Controllers;
 
use Encore\Admin\Layout\Content;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Input;
 
 
class HomeController 
{
  public function upload_msg() {
    $name = Input::get('name');
    $email = Input::get('email');
    $subject = Input::get('subject');
    $msg = Input::get('message');
    DB::table('website_msg')->insert(['name' => $name, 'email' => $email, 'subject' => $subject, 'msg' => $msg, 'company' => config('website.company')]);
    return 'OK';
  }
  public function index($lang = '')
  {
    list($suffix, $header, $footer) = __get_common($lang);
 
    $material_type = DB::table('material_type')->whereIn('code', ['esl', 'nfc', 'ap', 'pad', 'handheld', 'plastic'])->pluck('name' . $suffix, 'code')->toArray();;
    $portfolio_details = DB::table('quote')->whereIn('type', array_keys($material_type))->where('is_quote', 1)
      ->select(['id', 'ac_name' . $suffix, 'ac_tech' . $suffix, 'type', 'ac_pic'])->orderBy('index', 'asc')->get()->toArray();
 
    $portfolio_details = array_map(function ($v) use ($material_type, $suffix) {
      $tmp = [
        'id' => $v['id'],
        'type' => $v['type'],
        'name' => $v['ac_name' . $suffix],
        'tech' => $v['ac_tech' . $suffix],
        'image' => config('website.host.image_prefix'). $v['ac_pic']
      ];
      return $tmp;
    }, $portfolio_details);
 
    $portfolio = __('lang.portfolio');
    $portfolio['type'] =$material_type;
    $portfolio['details'] = $portfolio_details;
 
Arguments
  1. "solutions.html"
    
/var/www/website/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. "solutions.html"
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * 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. Route {#1170}
    
  2. HomeController {#1655}
    
  3. "index"
    
/var/www/website/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']);
    }
 
    /**
     * Run the route action and return the response.
/var/www/website/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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
Arguments
  1. Closure {#10902
      class: "Illuminate\Routing\Router"
      this: Router {#61 …}
      parameters: {
        $request: {}
      }
      use: {
        $route: Route {#1170 …}
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  Route  $route
     * @param  Request  $request
     * @return mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
Arguments
  1. Route {#1170}
    
  2. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Route {#1170}
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return mixed
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/fideloper/proxy/src/TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->setTrustedProxyHeaderNames($request);
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses($request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // We only trust specific IP addresses
        if (is_array($trustedIps)) {
            return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
        }
 
        // We trust any IP address that calls us, but not proxies further
        // up the forwarding chain.
        // TODO: Determine if this should only trust the first IP address
        //       Currently it trusts the entire chain (array of IPs),
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#12406
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#11392 …}
      parameters: {
        $passable: {}
      }
      use: {
        $destination: Closure {#10416 …}
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
     * The additional attributes passed to the middleware.
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $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());
        } else {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#9604
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#11392 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#12406 …}
        $pipe: "App\Http\Middleware\TrustProxies"
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
     * The additional attributes passed to the middleware.
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $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());
        } else {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#8141
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#11392 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#9604 …}
        $pipe: "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull"
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#7109
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#11392 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#8141 …}
        $pipe: "App\Http\Middleware\TrimStrings"
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure {#10921
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#11392 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#7109 …}
        $pipe: "Illuminate\Foundation\Http\Middleware\ValidatePostSize"
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/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 {#10416
      class: "Illuminate\Foundation\Http\Kernel"
      this: Kernel {#65 …}
      parameters: {
        $request: {}
      }
    }
    
/var/www/website/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/hhxsv5/laravel-s/src/Illuminate/Laravel.php
    public function getRawGlobals()
    {
        return $this->rawGlobals;
    }
 
    public function handleDynamic(IlluminateRequest $request)
    {
        ob_start();
 
        if ($this->conf['is_lumen']) {
            $response = $this->currentApp->dispatch($request);
            if ($response instanceof SymfonyResponse) {
                $content = $response->getContent();
            } else {
                $content = $response;
            }
 
            $this->reflectionApp->callTerminableMiddleware($response);
        } else {
            $response = $this->kernel->handle($request);
            $content = $response->getContent();
            $this->kernel->terminate($request, $response);
        }
 
        // prefer content in response, secondly ob
        if (!($response instanceof StreamedResponse) && (string)$content === '' && ob_get_length() > 0) {
            $response->setContent(ob_get_contents());
        }
 
        ob_end_clean();
 
        return $response;
    }
 
    public function handleStatic(IlluminateRequest $request)
    {
        $uri = $request->getRequestUri();
        if (isset(self::$staticBlackList[$uri])) {
            return false;
        }
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/hhxsv5/laravel-s/src/LaravelS.php
    }
 
    protected function handleStaticResource(Laravel $laravel, IlluminateRequest $laravelRequest, SwooleResponse $swooleResponse)
    {
        $laravelResponse = $laravel->handleStatic($laravelRequest);
        if ($laravelResponse === false) {
            return false;
        }
        $laravelResponse->headers->set('Server', $this->conf['server'], true);
        $laravel->fireEvent('laravels.generated_response', [$laravelRequest, $laravelResponse]);
        $response = new StaticResponse($swooleResponse, $laravelResponse);
        $response->setChunkLimit($this->conf['swoole']['buffer_output_size']);
        $response->send($this->conf['enable_gzip']);
        return true;
    }
 
    protected function handleDynamicResource(Laravel $laravel, IlluminateRequest $laravelRequest, SwooleResponse $swooleResponse)
    {
        $laravel->cleanProviders();
        $laravelResponse = $laravel->handleDynamic($laravelRequest);
        $laravelResponse->headers->set('Server', $this->conf['server'], true);
        $laravel->fireEvent('laravels.generated_response', [$laravelRequest, $laravelResponse]);
        if ($laravelResponse instanceof BinaryFileResponse) {
            $response = new StaticResponse($swooleResponse, $laravelResponse);
        } else {
            $response = new DynamicResponse($swooleResponse, $laravelResponse);
        }
        $response->setChunkLimit($this->conf['swoole']['buffer_output_size']);
        $response->send($this->conf['enable_gzip']);
        $laravel->clean();
        return true;
    }
 
    /**@var OutputStyle */
    protected static $outputStyle;
 
    public static function setOutputStyle(OutputStyle $outputStyle)
    {
        static::$outputStyle = $outputStyle;
    }
Arguments
  1. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/website/vendor/hhxsv5/laravel-s/src/LaravelS.php
    protected function convertRequest(Laravel $laravel, SwooleRequest $request)
    {
        $rawGlobals = $laravel->getRawGlobals();
        return (new Request($request))->toIlluminateRequest($rawGlobals['_SERVER'], $rawGlobals['_ENV']);
    }
 
    public function onRequest(SwooleRequest $swooleRequest, SwooleResponse $swooleResponse)
    {
        try {
            parent::onRequest($swooleRequest, $swooleResponse);
            $laravelRequest = $this->convertRequest($this->laravel, $swooleRequest);
            $this->laravel->bindRequest($laravelRequest);
            $this->laravel->fireEvent('laravels.received_request', [$laravelRequest]);
            $handleStaticSuccess = false;
            if ($this->conf['handle_static']) {
                // For Swoole < 1.9.17
                $handleStaticSuccess = $this->handleStaticResource($this->laravel, $laravelRequest, $swooleResponse);
            }
            if (!$handleStaticSuccess) {
                $this->handleDynamicResource($this->laravel, $laravelRequest, $swooleResponse);
            }
        } catch (\Exception $e) {
            $this->handleException($e, $swooleResponse);
        }
    }
 
    /**
     * @param \Exception $e
     * @param SwooleResponse $response
     */
    protected function handleException($e, SwooleResponse $response)
    {
        $error = sprintf(
            'onRequest: Uncaught exception "%s"([%d]%s) at %s:%s, %s%s',
            get_class($e),
            $e->getCode(),
            $e->getMessage(),
            $e->getFile(),
            $e->getLine(),
            PHP_EOL,
Arguments
  1. Laravel {#36}
    
  2. Request {#11020
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#9100
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#77 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#38 …}
        }
      }
      #routeResolver: Closure {#10386
        class: "Illuminate\Routing\Router"
        this: Router {#61 …}
        use: {
          $route: Route {#1170 …}
        }
      }
      +attributes: ParameterBag {#11302}
      +request: ParameterBag {#10766}
      +query: ParameterBag {#10766}
      +server: ServerBag {#11280}
      +files: FileBag {#9953}
      +cookies: ParameterBag {#11567}
      +headers: HeaderBag {#10683}
      #content: ""
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/solutions.html"
      #requestUri: "/solutions.html"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  3. Response {#10668}
    
[internal]
Arguments
  1. Request {#10190}
    
  2. Response {#10668}
    
/var/www/website/vendor/hhxsv5/laravel-s/src/Swoole/Server.php
            $eventHandlers = (array)$this->conf['event_handlers'][$event];
            foreach ($eventHandlers as $eventHandler) {
                if (!isset(class_implements($eventHandler)[$interface])) {
                    throw new \InvalidArgumentException(sprintf(
                            '%s must implement the interface %s',
                            $eventHandler,
                            $interface
                        )
                    );
                }
                $this->callWithCatchException(function () use ($eventHandler, $arguments) {
                    call_user_func_array([(new $eventHandler), 'handle'], $arguments);
                });
            }
        }
    }
 
    public function run()
    {
        $this->swoole->start();
    }
}
 
/var/www/website/vendor/hhxsv5/laravel-s/src/Console/Portal.php
        }
 
        // Here we go...
        $config = $this->getConfig();
 
        if (!$config['server']['ignore_check_pid'] && file_exists($config['server']['swoole']['pid_file'])) {
            $pid = (int)file_get_contents($config['server']['swoole']['pid_file']);
            if ($pid > 0 && self::kill($pid, 0)) {
                $this->warning(sprintf('Swoole[PID=%d] is already running.', $pid));
                return 1;
            }
        }
 
        if ($config['server']['swoole']['daemonize']) {
            $this->trace('Swoole is running in daemon mode, see "ps -ef|grep laravels".');
        } else {
            $this->trace('Swoole is running, press Ctrl+C to quit.');
        }
 
        (new LaravelS($config['server'], $config['laravel']))->run();
 
        return 0;
    }
 
    public function stop()
    {
        $config = $this->getConfig();
        $pidFile = $config['server']['swoole']['pid_file'];
        if (!file_exists($pidFile)) {
            $this->warning('It seems that Swoole is not running.');
            return 0;
        }
 
        $pid = file_get_contents($pidFile);
        if (!self::kill($pid, 0)) {
            $this->warning("Swoole [PID={$pid}] does not exist, or permission denied.");
            return 0;
        }
        if (!self::kill($pid, SIGTERM)) {
            $this->error("Swoole [PID={$pid}] is stopped failed.");
/var/www/website/vendor/hhxsv5/laravel-s/src/Console/Portal.php
 
        $this->addArgument('action', InputArgument::OPTIONAL, 'start|stop|restart|reload|info|help', 'help');
        $this->addOption('env', 'e', InputOption::VALUE_OPTIONAL, 'The environment the command should run under, this feature requires Laravel 5.2+');
        $this->addOption('daemonize', 'd', InputOption::VALUE_NONE, 'Run as a daemon');
        $this->addOption('ignore', 'i', InputOption::VALUE_NONE, 'Ignore checking PID file of Master process');
        $this->addOption('x-version', 'x', InputOption::VALUE_OPTIONAL, 'The version(branch) of the current project, stored in $_ENV/$_SERVER');
        Client::attachCommandOptions($this);
    }
 
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;
        LaravelS::setOutputStyle(new SymfonyStyle($this->input, $this->output));
 
        try {
            $action = $input->getArgument('action');
            switch ($action) {
                case 'start':
                    return $this->start();
                case 'stop':
                    return $this->stop();
                case 'restart':
                    return $this->restart();
                case 'reload':
                    return $this->reload();
                case 'info':
                    return $this->showInfo();
                default:
                    $help = <<<EOS
 
Usage: 
  [%s] ./bin/laravels [options] <action>
 
Arguments:
  action                start|stop|restart|reload|info|help
 
Options:
  -e, --env             The environment the command should run under, this feature requires Laravel 5.2+
  -d, --daemonize       Run as a daemon
/var/www/website/vendor/symfony/console/Command/Command.php
            }
        }
 
        if ($input->isInteractive()) {
            $this->interact($input, $output);
        }
 
        // The command name argument is often omitted when a command is executed directly with its run() method.
        // It would fail the validation if we didn't make sure the command argument is present,
        // since it's required by the application.
        if ($input->hasArgument('command') && null === $input->getArgument('command')) {
            $input->setArgument('command', $this->getName());
        }
 
        $input->validate();
 
        if ($this->code) {
            $statusCode = \call_user_func($this->code, $input, $output);
        } else {
            $statusCode = $this->execute($input, $output);
        }
 
        return is_numeric($statusCode) ? (int) $statusCode : 0;
    }
 
    /**
     * Sets the code to execute when running this command.
     *
     * If this method is used, it overrides the code defined
     * in the execute() method.
     *
     * @param callable $code A callable(InputInterface $input, OutputInterface $output)
     *
     * @return $this
     *
     * @throws InvalidArgumentException
     *
     * @see execute()
     */
    public function setCode(callable $code)
Arguments
  1. ArgvInput {#17}
    
  2. ConsoleOutput {#19}
    
/var/www/website/bin/laravels
        if (file_exists($file)) {
            require $file;
            return true;
        }
        return false;
    }
}
 
$basePath = realpath(__DIR__ . '/../');
$loader = new Psr4Autoloader();
$loader->register();
$loader->addNamespace('Hhxsv5\LaravelS', $basePath . '/vendor/hhxsv5/laravel-s/src');
$loader->addNamespace('Symfony\Component\Console', $basePath . '/vendor/symfony/console');
$loader->addNamespace('Symfony\Contracts\Service', $basePath . '/vendor/symfony/service-contracts');
$loader->addNamespace('Symfony\Contracts', $basePath . '/vendor/symfony/contracts');
 
$command = new Hhxsv5\LaravelS\Console\Portal($basePath);
$input = new Symfony\Component\Console\Input\ArgvInput();
$output = new Symfony\Component\Console\Output\ConsoleOutput();
$code = $command->run($input, $output);
exit($code);
Arguments
  1. ArgvInput {#17}
    
  2. ConsoleOutput {#19}
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
HOSTNAME
"32e723255d97"
PHP_VERSION
"7.4.33"
PHP_INI_DIR
"/usr/local/etc/php"
GPG_KEYS
"42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312"
DEV_MODE
""
PHP_LDFLAGS
"-Wl,-O1 -pie"
PWD
"/var/www"
BOOT_MODE
"TASK"
HOME
"/root"
PHP_SHA256
"924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
TERM
"xterm-color"
PHP_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz"
SHLVL
"1"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
DEBIAN_FRONTEND
"noninteractive"
PHP_ASC_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz.asc"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
_
"/usr/bin/supervisord"
LC_CTYPE
"C.UTF-8"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_SERVER_URL
"unix:///var/run/supervisor.sock"
SUPERVISOR_PROCESS_NAME
"swoole"
SUPERVISOR_GROUP_NAME
"swoole"
PHP_SELF
"/var/www/website/bin/laravels"
SCRIPT_NAME
"/var/www/website/bin/laravels"
SCRIPT_FILENAME
"/var/www/website/bin/laravels"
PATH_TRANSLATED
"/var/www/website/bin/laravels"
DOCUMENT_ROOT
""
REQUEST_TIME_FLOAT
1711710653.52
REQUEST_TIME
1711710653
argv
array:3 [
  0 => "/var/www/website/bin/laravels"
  1 => "start"
  2 => "-i"
]
argc
3
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:2RZkEZHH27LcVSKFZBJStW3Jni7uKEkeWosjfaiuZko="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://office.wolink.com.cn"
DB_CONNECTION
"mysql"
DB_HOST
"mysql"
DB_PORT
"3306"
DB_DATABASE
"office"
DB_USERNAME
"root"
DB_PASSWORD
"mumutou~12"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
SHELL_VERBOSITY
0
REQUEST_METHOD
"GET"
REQUEST_URI
"/solutions.html"
PATH_INFO
"/solutions.html"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_PORT
80
REMOTE_PORT
56574
REMOTE_ADDR
"172.20.0.1"
MASTER_TIME
1711710653
HTTP_HOST
"www.wolink.com.cn"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_X_FORWARDED_FOR
"3.238.254.78"
HTTP_ACCEPT_ENCODING
"gzip"
Key Value
HOSTNAME
"32e723255d97"
PHP_VERSION
"7.4.33"
PHP_INI_DIR
"/usr/local/etc/php"
GPG_KEYS
"42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312"
DEV_MODE
""
PHP_LDFLAGS
"-Wl,-O1 -pie"
PWD
"/var/www"
BOOT_MODE
"TASK"
HOME
"/root"
PHP_SHA256
"924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
TERM
"xterm-color"
PHP_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz"
SHLVL
"1"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
DEBIAN_FRONTEND
"noninteractive"
PHP_ASC_URL
"https://www.php.net/distributions/php-7.4.33.tar.xz.asc"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
_
"/usr/bin/supervisord"
LC_CTYPE
"C.UTF-8"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_SERVER_URL
"unix:///var/run/supervisor.sock"
SUPERVISOR_PROCESS_NAME
"swoole"
SUPERVISOR_GROUP_NAME
"swoole"
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:2RZkEZHH27LcVSKFZBJStW3Jni7uKEkeWosjfaiuZko="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://office.wolink.com.cn"
DB_CONNECTION
"mysql"
DB_HOST
"mysql"
DB_PORT
"3306"
DB_DATABASE
"office"
DB_USERNAME
"root"
DB_PASSWORD
"mumutou~12"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
SHELL_VERBOSITY
0
0. Whoops\Handler\PrettyPageHandler