ErrorException (E_NOTICE)
Trying to get property 'slug_tr' of non-object ErrorException thrown with message "Trying to get property 'slug_tr' of non-object" Stacktrace: #43 ErrorException in /home/u7177946/public_html/app/Http/Controllers/indexController.php:21 #42 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/u7177946/public_html/app/Http/Controllers/indexController.php:21 #41 App\Http\Controllers\indexController:showContent in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55 #40 call_user_func_array in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:55 #39 Illuminate\Routing\Controller:callAction in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:44 #38 Illuminate\Routing\ControllerDispatcher:dispatch in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:203 #37 Illuminate\Routing\Route:runController in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:160 #36 Illuminate\Routing\Route:run in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:559 #35 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #34 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #33 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #31 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #30 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #28 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #27 Illuminate\Session\Middleware\StartSession:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #25 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #24 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #22 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 #21 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #19 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #18 Illuminate\Pipeline\Pipeline:then in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:561 #17 Illuminate\Routing\Router:runRouteWithinStack in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:520 #16 Illuminate\Routing\Router:dispatchToRoute in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:498 #15 Illuminate\Routing\Router:dispatch in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:174 #14 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #13 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 #12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #10 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #9 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #7 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 #6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #4 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #3 Illuminate\Pipeline\Pipeline:then in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:149 #2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #1 Illuminate\Foundation\Http\Kernel:handle in /home/u7177946/public_html/public/index.php:53 #0 require_once in /home/u7177946/public_html/index.php:21
Stack frames (44)
43
ErrorException
/
app
/
Http
/
Controllers
/
indexController.php
21
42
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleError
/
app
/
Http
/
Controllers
/
indexController.php
21
41
App
\
Http
\
Controllers
\
indexController
showContent
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
55
40
call_user_func_array
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
55
39
Illuminate
\
Routing
\
Controller
callAction
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
ControllerDispatcher.php
44
38
Illuminate
\
Routing
\
ControllerDispatcher
dispatch
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
203
37
Illuminate
\
Routing
\
Route
runController
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
160
36
Illuminate
\
Routing
\
Route
run
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
559
35
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
30
34
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Middleware
/
SubstituteBindings.php
41
33
Illuminate
\
Routing
\
Middleware
\
SubstituteBindings
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
32
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
31
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Middleware
/
ShareErrorsFromSession.php
49
30
Illuminate
\
View
\
Middleware
\
ShareErrorsFromSession
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
29
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
28
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
64
27
Illuminate
\
Session
\
Middleware
\
StartSession
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
26
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
25
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
AddQueuedCookiesToResponse.php
37
24
Illuminate
\
Cookie
\
Middleware
\
AddQueuedCookiesToResponse
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
23
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
22
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
EncryptCookies.php
59
21
Illuminate
\
Cookie
\
Middleware
\
EncryptCookies
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
20
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
19
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
102
18
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
561
17
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
520
16
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
498
15
Illuminate
\
Routing
\
Router
dispatch
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
174
14
Illuminate
\
Foundation
\
Http
\
Kernel
Illuminate
\
Foundation
\
Http
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
30
13
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
TransformsRequest.php
30
12
Illuminate
\
Foundation
\
Http
\
Middleware
\
TransformsRequest
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
11
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
10
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
ValidatePostSize.php
27
9
Illuminate
\
Foundation
\
Http
\
Middleware
\
ValidatePostSize
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
8
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
7
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
CheckForMaintenanceMode.php
46
6
Illuminate
\
Foundation
\
Http
\
Middleware
\
CheckForMaintenanceMode
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
148
5
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
4
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
102
3
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
149
2
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
116
1
Illuminate
\
Foundation
\
Http
\
Kernel
handle
/
public
/
index.php
53
0
require_once
/
index.php
21
/
home
/
u7177946
/
public_html
/
app
/
Http
/
Controllers
/
indexController.php
 
namespace App\Http\Controllers;
 
use Illuminate\Http\Request;
use App\Contents;
use App\Media;
use App\Calendar;
use App\Trainers;
use Sabre\VObject;
 
class indexController extends Controller
{
 
        public function showContent(Request $r,$lang,$slug){
            $content = Contents::where('slug_'.$lang,$slug)->first();
            if(!isset($content->id)){
                $content = Contents::where('slug_tr',$slug)->first();
                if(!isset($content->id)){
                    $content = Contents::where('slug_en',$slug)->first();
                    return redirect('/'.$lang.'/'.$content->slug_tr);
                }
                return redirect('/'.$lang.'/'.$content->slug_en);
            }  
            $parentContent = Contents::where('id',$content->parent_id)->first();
 
 
            $media = Media::where('content_id',$content->id)->get();
 
            return view('frontend.content',["content"=>$content,"parentContent"=>$parentContent,"title"=>$content->{"title_"._LANG_}." - ".getSetting('page_'._LANG_),"r"=>$r,"media"=>$media]);
        }
 
    public function showIndex($lang=_LANG_){
 
        return view('frontend.index',["title"=>getSetting('title_'._LANG_)]);
    }
 
    public function showContact($lang=_LANG_){
 
        return view('frontend.contact',["title"=>"İletişim"]);
    }
Arguments
  1. "Trying to get property 'slug_tr' of non-object"
    
/
home
/
u7177946
/
public_html
/
app
/
Http
/
Controllers
/
indexController.php
 
namespace App\Http\Controllers;
 
use Illuminate\Http\Request;
use App\Contents;
use App\Media;
use App\Calendar;
use App\Trainers;
use Sabre\VObject;
 
class indexController extends Controller
{
 
        public function showContent(Request $r,$lang,$slug){
            $content = Contents::where('slug_'.$lang,$slug)->first();
            if(!isset($content->id)){
                $content = Contents::where('slug_tr',$slug)->first();
                if(!isset($content->id)){
                    $content = Contents::where('slug_en',$slug)->first();
                    return redirect('/'.$lang.'/'.$content->slug_tr);
                }
                return redirect('/'.$lang.'/'.$content->slug_en);
            }  
            $parentContent = Contents::where('id',$content->parent_id)->first();
 
 
            $media = Media::where('content_id',$content->id)->get();
 
            return view('frontend.content',["content"=>$content,"parentContent"=>$parentContent,"title"=>$content->{"title_"._LANG_}." - ".getSetting('page_'._LANG_),"r"=>$r,"media"=>$media]);
        }
 
    public function showIndex($lang=_LANG_){
 
        return view('frontend.index',["title"=>getSetting('title_'._LANG_)]);
    }
 
    public function showContact($lang=_LANG_){
 
        return view('frontend.contact',["title"=>"İletişim"]);
    }
Arguments
  1. 8
    
  2. "Trying to get property 'slug_tr' of non-object"
    
  3. "/home/u7177946/public_html/app/Http/Controllers/indexController.php"
    
  4. 21
    
  5. array:4 [
      "r" => Request {#38}
      "lang" => "tr"
      "slug" => "kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
      "content" => null
    ]
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    public function missingMethod($parameters = [])
    {
        throw new NotFoundHttpException('Controller method not found.');
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
Arguments
  1. Request {#38}
    
  2. "tr"
    
  3. "kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    public function missingMethod($parameters = [])
    {
        throw new NotFoundHttpException('Controller method not found.');
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
Arguments
  1. array:2 [
      0 => indexController {#229}
      1 => "showContent"
    ]
    
  2. array:3 [
      0 => Request {#38}
      "lang" => "tr"
      "slug" => "kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
    ]
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public static function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
Arguments
  1. "showContent"
    
  2. array:3 [
      0 => Request {#38}
      "lang" => "tr"
      "slug" => "kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
    ]
    
/
home
/
u7177946
/
public_html
/
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 (new ControllerDispatcher($this->container))->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        $class = $this->parseControllerCallback()[0];
 
        if (! $this->controller) {
            $this->controller = $this->container->make($class);
        }
 
        return $this->controller;
    }
 
    /**
Arguments
  1. Route {#198}
    
  2. indexController {#229}
    
  3. "showContent"
    
/
home
/
u7177946
/
public_html
/
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.
/
home
/
u7177946
/
public_html
/
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);
    }
 
    /**
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Middleware
/
SubstituteBindings.php
     */
    public function __construct(Registrar $router)
    {
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->router->substituteBindings($route = $request->route());
 
        $this->router->substituteImplicitBindings($route);
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#295
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#228 …}
      parameters: {
        $passable: {}
      }
      use: {
        $destination: Closure {#294
          class: "Illuminate\Routing\Router"
          this: Router {#21 …}
          parameters: {
            $request: {}
          }
          use: {
            $route: Route {#198}
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
          line: "557 to 561"
        }
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 36"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Middleware
/
ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#297
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#228 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#295
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#228 …}
          parameters: {
            $passable: {}
          }
          use: {
            $destination: Closure {#294
              class: "Illuminate\Routing\Router"
              this: Router {#21 …}
              parameters: {
                $request: {}
              }
              use: {
                $route: Route {#198}
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
              line: "557 to 561"
            }
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "28 to 36"
        }
        $pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->sessionHandled = true;
 
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        if ($this->sessionConfigured()) {
            $request->setLaravelSession(
                $session = $this->startSession($request)
            );
 
            $this->collectGarbage($session);
        }
 
        $response = $next($request);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#298
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#228 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#297
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#228 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#295
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#228 …}
              parameters: {
                $passable: {}
              }
              use: {
                $destination: Closure {#294
                  class: "Illuminate\Routing\Router"
                  this: Router {#21 …}
                  parameters: {
                    $request: {}
                  }
                  use: {
                    $route: Route {#198}
                  }
                  file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
                  line: "557 to 561"
                }
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "28 to 36"
            }
            $pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "47 to 59"
        }
        $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#299
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#228 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#298
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#228 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#297
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#228 …}
              parameters: {
                $passable: {}
              }
              use: {
                $stack: Closure {#295
                  class: "Illuminate\Routing\Pipeline"
                  this: Pipeline {#228 …}
                  parameters: {
                    $passable: {}
                  }
                  use: {
                    $destination: Closure {#294
                      class: "Illuminate\Routing\Router"
                      this: Router {#21 …}
                      parameters: {
                        $request: {}
                      }
                      use: {
                        $route: Route {#198}
                      }
                      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
                      line: "557 to 561"
                    }
                  }
                  file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                  line: "28 to 36"
                }
                $pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "47 to 59"
            }
            $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "47 to 59"
        }
        $pipe: "Illuminate\Session\Middleware\StartSession"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $cookieName
     * @return void
     */
    public function disableFor($cookieName)
    {
        $this->except = array_merge($this->except, (array) $cookieName);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $c) {
            if ($this->isDisabled($key)) {
                continue;
            }
 
            try {
                $request->cookies->set($key, $this->decryptCookie($c));
            } catch (DecryptException $e) {
                $request->cookies->set($key, null);
            }
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#300
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#228 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#299
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#228 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#298
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#228 …}
              parameters: {
                $passable: {}
              }
              use: {
                $stack: Closure {#297
                  class: "Illuminate\Routing\Pipeline"
                  this: Pipeline {#228 …}
                  parameters: {
                    $passable: {}
                  }
                  use: {
                    $stack: Closure {#295
                      class: "Illuminate\Routing\Pipeline"
                      this: Pipeline {#228 …}
                      parameters: {
                        $passable: {}
                      }
                      use: {
                        $destination: Closure {#294
                          class: "Illuminate\Routing\Router"
                          this: Router {#21 …}
                          parameters: {
                            $request: {}
                          }
                          use: {
                            $route: Route {#198}
                          }
                          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
                          line: "557 to 561"
                        }
                      }
                      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                      line: "28 to 36"
                    }
                    $pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
                  }
                  file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
                  line: "47 to 59"
                }
                $pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "47 to 59"
            }
            $pipe: "Illuminate\Session\Middleware\StartSession"
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "47 to 59"
        }
        $pipe: "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#294
      class: "Illuminate\Routing\Router"
      this: Router {#21 …}
      parameters: {
        $request: {}
      }
      use: {
        $route: Route {#198}
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php"
      line: "557 to 561"
    }
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        // First we will find a route that matches this request. We will also set the
        // route resolver on the request so middlewares assigned to the route will
        // receive access to this route instance for checking of the parameters.
        $route = $this->findRoute($request);
 
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        $response = $this->runRouteWithinStack($route, $request);
 
        return $this->prepareResponse($request, $response);
    }
 
    /**
     * 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;
    }
 
    /**
Arguments
  1. Route {#198}
    
  2. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return void
     */
    protected function mergeGroupAttributesIntoRoute($route)
    {
        $route->setAction($this->mergeWithLastGroup($route->getAction()));
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        // First we will find a route that matches this request. We will also set the
        // route resolver on the request so middlewares assigned to the route will
        // receive access to this route instance for checking of the parameters.
        $route = $this->findRoute($request);
 
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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);
 
        $this->cleanParameterBag($request->request);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        }
    }
 
    /**
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#209
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#30 …}
      parameters: {
        $passable: {}
      }
      use: {
        $destination: Closure {#28
          class: "Illuminate\Foundation\Http\Kernel"
          this: Kernel {#22 …}
          parameters: {
            $request: {}
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
          line: "171 to 175"
        }
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "28 to 36"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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));
 
        switch ($metric) {
            case 'K':
                return (int) $postMaxSize * 1024;
            case 'M':
                return (int) $postMaxSize * 1048576;
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#210
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#30 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#209
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#30 …}
          parameters: {
            $passable: {}
          }
          use: {
            $destination: Closure {#28
              class: "Illuminate\Foundation\Http\Kernel"
              this: Kernel {#22 …}
              parameters: {
                $request: {}
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
              line: "171 to 175"
            }
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "28 to 36"
        }
        $pipe: "App\Http\Middleware\TrimStrings"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
                    // otherwise we'll resolve the pipes out of the container and call it with
                    // 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 $pipe->{$this->method}(...$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 {#38}
    
  2. Closure {#211
      class: "Illuminate\Routing\Pipeline"
      this: Pipeline {#30 …}
      parameters: {
        $passable: {}
      }
      use: {
        $stack: Closure {#210
          class: "Illuminate\Routing\Pipeline"
          this: Pipeline {#30 …}
          parameters: {
            $passable: {}
          }
          use: {
            $stack: Closure {#209
              class: "Illuminate\Routing\Pipeline"
              this: Pipeline {#30 …}
              parameters: {
                $passable: {}
              }
              use: {
                $destination: Closure {#28
                  class: "Illuminate\Foundation\Http\Kernel"
                  this: Kernel {#22 …}
                  parameters: {
                    $request: {}
                  }
                  file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
                  line: "171 to 175"
                }
              }
              file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
              line: "28 to 36"
            }
            $pipe: "App\Http\Middleware\TrimStrings"
          }
          file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
          line: "47 to 59"
        }
        $pipe: "Illuminate\Foundation\Http\Middleware\ValidatePostSize"
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php"
      line: "47 to 59"
    }
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#38}
    
/
home
/
u7177946
/
public_html
/
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 {#28
      class: "Illuminate\Foundation\Http\Kernel"
      this: Kernel {#22 …}
      parameters: {
        $request: {}
      }
      file: "/home/u7177946/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php"
      line: "171 to 175"
    }
    
/
home
/
u7177946
/
public_html
/
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);
        }
 
        event(new Events\RequestHandled($request, $response));
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
public
/
index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#38}
    
/
home
/
u7177946
/
public_html
/
index.php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
$uri = urldecode(
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
 
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
    return false;
}
 
require_once __DIR__.'/public/index.php';
 
Arguments
  1. "/home/u7177946/public_html/public/index.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
LSPHP_ENABLE_USER_INI
"on"
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"seyirakademi.com"
HTTP_USER_AGENT
"claudebot"
DOCUMENT_ROOT
"/home/u7177946/public_html"
REMOTE_ADDR
"54.172.95.106"
REMOTE_PORT
"52468"
SERVER_ADDR
"94.73.146.95"
SERVER_NAME
"seyirakademi.com"
SERVER_ADMIN
"webmaster@seyirakademi.com"
SERVER_PORT
"80"
REQUEST_SCHEME
"http"
REQUEST_URI
"/tr/kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
REDIRECT_URL
"/tr/kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
REDIRECT_REQUEST_METHOD
"GET"
REDIRECT_STATUS
"200"
SCRIPT_FILENAME
"/home/u7177946/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"http://seyirakademi.com/tr/kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
SCRIPT_URL
"/tr/kurumsal-risk-yonetimi-ve-risk-olgunluk-modeli"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711703170.4046
REQUEST_TIME
1711703170
Key Value
LSPHP_ENABLE_USER_INI
"on"
PATH
"/usr/local/bin:/bin:/usr/bin"
0. Whoops\Handler\PrettyPageHandler