Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)
Argument 1 passed to Illuminate\Session\Middleware\StartSession::addCookieToResponse() must be an instance of Symfony\Component\HttpFoundation\Response, null given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php on line 60 Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Argument 1 passed to Illuminate\Session\Middleware\StartSession::addCookieToResponse() must be an instance of Symfony\Component\HttpFoundation\Response, null given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php on line 60" Stacktrace: #31 Symfony\Component\Debug\Exception\FatalThrowableError in /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:151 #30 Illuminate\Session\Middleware\StartSession:addCookieToResponse in /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:60 #29 Illuminate\Session\Middleware\StartSession:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #27 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 #25 Illuminate\Cookie\Middleware\EncryptCookies:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #24 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #23 Illuminate\Pipeline\Pipeline:then in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 #22 Illuminate\Routing\Router:runRouteWithinStack in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:657 #21 Illuminate\Routing\Router:runRoute in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:623 #20 Illuminate\Routing\Router:dispatchToRoute in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:612 #19 Illuminate\Routing\Router:dispatch in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 #18 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/app/Http/Middleware/CorsHttp.php:32 #16 App\Http\Middleware\CorsHttp:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/fideloper/proxy/src/TrustProxies.php:57 #14 Fideloper\Proxy\TrustProxies:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #10 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 #6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/app/Http/Middleware/HttpsMiddleware.php:24 #4 App\Http\Middleware\HttpsMiddleware:handle in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 #2 Illuminate\Pipeline\Pipeline:then in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/public/index.php:55
31
Symfony\Component\Debug\Exception\FatalThrowableError
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php151
30
Illuminate\Session\Middleware\StartSession addCookieToResponse
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php60
29
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
27
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
26
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php66
25
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
24
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php105
23
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php682
22
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php657
21
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php623
20
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php612
19
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php176
18
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/CorsHttp.php32
16
App\Http\Middleware\CorsHttp handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fideloper/proxy/src/TrustProxies.php57
14
Fideloper\Proxy\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
12
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
10
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
8
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php62
6
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/app/Http/Middleware/HttpsMiddleware.php24
4
App\Http\Middleware\HttpsMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php171
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php105
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * @return void
     */
    protected function storeCurrentUrl(Request $request, $session)
    {
        if ($request->method() === 'GET' &&
            $request->route() &&
            ! $request->ajax() &&
            ! $request->prefetch()) {
            $session->setPreviousUrl($request->fullUrl());
        }
    }
 
    /**
     * Add the session cookie to the application response.
     *
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return void
     */
    protected function addCookieToResponse(Response $response, Session $session)
    {
        if ($this->sessionIsPersistent($config = $this->manager->getSessionConfig())) {
            $response->headers->setCookie(new Cookie(
                $session->getName(), $session->getId(), $this->getCookieExpirationDate(),
                $config['path'], $config['domain'], $config['secure'] ?? false,
                $config['http_only'] ?? true, false, $config['same_site'] ?? null
            ));
        }
    }
 
    /**
     * Save the session data to storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function saveSession($request)
    {
        $this->manager->driver()->save();
    }
Arguments
  1. "Argument 1 passed to Illuminate\Session\Middleware\StartSession::addCookieToResponse() must be an instance of Symfony\Component\HttpFoundation\Response, null given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php on line 60"
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $session = $this->startSession($request)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
    {
        return tap($this->getSession($request), function ($session) use ($request) {
            $session->setRequestOnHandler($request);
 
Arguments
  1. null
    
  2. Store {#822}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#933 …5}
    
/var/www/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 {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#934 …5}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $cookie) {
            if ($this->isDisabled($key)) {
                continue;
            }
 
            try {
                $request->cookies->set($key, $this->decryptCookie($key, $cookie));
            } catch (DecryptException $e) {
                $request->cookies->set($key, null);
            }
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#935 …5}
    
/var/www/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);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/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($request) {#834 …5}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new 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 {#500}
    
  2. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Route {#500}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/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 {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (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 {
                    if (is_callable($pipe)) {
                        // If the pipe is an instance of a Closure, we will just call it directly but
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/app/Http/Middleware/CorsHttp.php
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $preferredLanguage = $request->getPreferredLanguage();
        if($preferredLanguage  == 'zh_CN'){
            App::setLocale('zh');
        }
        $header = $request->header('Language',null);
        if($header == 'zh'){
            App::setLocale('zh');
        }elseif ($header == 'en'){
            App::setLocale('en');
        }
        if(session('lang') && $header === null){
            App::setLocale(session('lang'));
        }
        $response = $next($request);
        $IlluminateResponse = 'Illuminate\Http\Response';
        $SymfonyResponse = 'Symfony\Component\HttpFoundation\Response';
        $headers = [
            'Access-Control-Allow-Origin' => '*',
            'Access-Control-Allow-Methods' => 'POST, GET, OPTIONS, PUT, PATCH, DELETE',
            'Access-Control-Allow-Headers' => 'Origin,No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-Control, Expires, Content-Type, X-E4M-With, token, Authorization,Language',
            'Access-Control-Allow-Credentials'=>'true'
        ];
 
        if ($response instanceof $IlluminateResponse) {
            foreach ($headers as $key => $value) {
                $response->header($key, $value);
            }
            return $response;
        }
 
        if ($response instanceof $SymfonyResponse) {
            foreach ($headers as $key => $value) {
                $response->headers->set($key, $value);
            }
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#31 …5}
    
/var/www/html/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 $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
        $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 $request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // Trust any IP address that calls us
        // `**` for backwards compatibility, but is deprecated
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        // Support IPs addresses separated by comma
        $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
 
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#40 …5}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#336 …5}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#767 …5}
    
/var/www/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));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#810 …5}
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
                return $next($request);
            }
 
            if ($this->inExceptArray($request)) {
                return $next($request);
            }
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the request has a URI that should be accessible in maintenance mode.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function inExceptArray($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->fullUrlIs($except) || $request->is($except)) {
                return true;
            }
        }
 
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#811 …5}
    
/var/www/html/app/Http/Middleware/HttpsMiddleware.php
use Closure;
use Jenssegers\Agent\Facades\Agent;
 
class HttpsMiddleware
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $scheme = $request->getScheme();
        $pro = $request->server->get('HTTP_X_FORWARDED_PROTO');
        if(!($scheme == 'https' || $pro == 'https')){
            return redirect('https://'.$request->getHost());
        }
        return $next($request);
    }
}
 
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#812 …5}
    
/var/www/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);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/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($request) {#766 …4}
    
/var/www/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);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/var/www/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 {#51
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#823 …5}
      #routeResolver: Closure() {#826 …5}
      +attributes: ParameterBag {#53}
      +request: ParameterBag {#59}
      +query: ParameterBag {#59}
      +server: ServerBag {#55}
      +files: FileBag {#56}
      +cookies: ParameterBag {#54}
      +headers: HeaderBag {#57}
      #content: null
      #languages: []
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/career/internship"
      #requestUri: "/career/internship"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#822}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"/var/www"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_X_AMZN_TRACE_ID
"Root=1-6605485c-2e8bcfaa2c308443742625eb"
HTTP_HOST
"www.ylbservices.com"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"35.175.174.36"
PATH_INFO
""
REDIRECT_STATUS
"200"
SERVER_NAME
"_"
SERVER_PORT
"80"
SERVER_ADDR
"172.18.0.2"
REMOTE_PORT
"22134"
REMOTE_ADDR
"172.31.29.230"
SERVER_SOFTWARE
"nginx/1.14.2"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/career/internship"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/var/www/html/public/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711622236.3879
REQUEST_TIME
1711622236
APP_NAME
"Laravel"
APP_ENV
"production"
APP_KEY
"base64:TUb8hEO2qtSdTimeuTTmg5UNO2KBgM9d0ebvrIBmpdM="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_LOG
"daily"
APP_URL
"https://www.ylbservices.com"
SITE_URL
"https://www.ylbservices.com"
NOTICE_EMAIL
"technology@ylbservices.com"
SYSTEM_NOTICE_EMAIL
"technology@ylbservices.com"
CRYPT_KEY
"BgM9d0ebvrIBmpdM"
FRONT_END_DIR
"/opt/www/vue.html/"
DB_CONNECTION
"mysql"
DB_HOST
"172.17.0.1"
DB_PORT
"33061"
DB_DATABASE
"ylb_prod"
DB_USERNAME
"tank"
DB_PASSWORD
"tankylb"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"redis"
REDIS_HOST
"172.17.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
REDIS_DATABASE
"1"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.exmail.qq.com"
MAIL_PORT
"465"
MAIL_USERNAME
"technology@ylbservices.com"
MAIL_FROM_ADDRESS
"technology@ylbservices.com"
MAIL_PASSWORD
"HKboEN9S2nmyvGMW"
MAIL_FROM_NAME
"YLB Technology"
MAIL_ENCRYPTION
"ssl"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
TIMEZONE
"America/Los_Angeles"
JWT_SECRET
"eYdfun5HDN7BXKnWaUPMWTsJHcjhI1BZ"
ARCANEDEV_LOGVIEWER_MIDDLEWARE
"web,auth.log:admin"
GITHUB_CLIENT_ID
"332d56a94dadf4eef325"
GITHUB_CLIENT_SECRET
"e6dc4270a50b933fa3766f9cce5889dc9b5511c5"
GOOGLE_CLIENT_ID
"593484016160-skt0bjpe8tlftskhh77nhhh9faorkcli.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"dRRq4_tbJpeHUlfP64pDC5JN"
LINKEDIN_CLIENT_ID
"860lyuanbqow06"
LINKEDIN_CLIENT_SECRET
"bbEGEZIKQfvIaokJ"
GIT_SCRIPT
"/www"
GIT_PWD
"e4419464d570c4b497ba1979e790b104"
STRIPE_PUBLIC_KEY
"pk_test_VfEm0aeIZ85Ns7JzGXwsNfMj"
STRIPE_SECRET_KEY
"sk_test_qoVjYMRJpEPhvdvyM2dlOYm8"
CLIENT_ID
"AWGLCuyU2jCRC_zqVCj7vE2B2PaKUYYZkmVxeBCBW9oHnbDfkKJiZBgkB4jF-9FA5WKia-XYwNlSLTy5"
CLIENT_SECRET
"ELPepc1eVNdtLRrvwFwgD-peMfxeEr27zuVjAx6iculDXGhTOl8CnilfJwPKl-xG3f2-sAA4tSTp6gHm"
HANTE_TOKEN
"2d37988b2f7fa1bd319b824249dbe0205a6426fe58ed004c15d48cbfa02fb483"
HANTE_SECUREPAY
"https://api.hantepay.com/v1.3/transactions/securepay"
HANTE_SECUREPAY_IPN
"/api/pay/hante/ipn"
HANTE_SECUREPAY_BACK
"/api/pay/hante/securepay/callback"
HANTE_SECUREPAY_PAY
"/pay/hante/securepay"
subscription_monthly
"200"
subscription_quarter
"300"
ZOOM_JWT_TOKEN
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6ImQ5anpIbGRCVERDQi02V0UxeTN0OVEiLCJleHAiOjE2MDI3MjIxMjAsImlhdCI6MTU5MjE4MTA1MX0.tyUPN5gbEq-6qCj3uv0amWJEW5_ZExzzmynelD7F0UI"
LOG_SLACK_WEBHOOK_URL
"https://hooks.slack.com/services/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"
SENTRY_LARAVEL_DSN
"https://463800c7e0564c41b471e09654d5ab49@sentry.io/5182766"
Key Value
APP_NAME
"Laravel"
APP_ENV
"production"
APP_KEY
"base64:TUb8hEO2qtSdTimeuTTmg5UNO2KBgM9d0ebvrIBmpdM="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_LOG
"daily"
APP_URL
"https://www.ylbservices.com"
SITE_URL
"https://www.ylbservices.com"
NOTICE_EMAIL
"technology@ylbservices.com"
SYSTEM_NOTICE_EMAIL
"technology@ylbservices.com"
CRYPT_KEY
"BgM9d0ebvrIBmpdM"
FRONT_END_DIR
"/opt/www/vue.html/"
DB_CONNECTION
"mysql"
DB_HOST
"172.17.0.1"
DB_PORT
"33061"
DB_DATABASE
"ylb_prod"
DB_USERNAME
"tank"
DB_PASSWORD
"tankylb"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"redis"
REDIS_HOST
"172.17.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
REDIS_DATABASE
"1"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.exmail.qq.com"
MAIL_PORT
"465"
MAIL_USERNAME
"technology@ylbservices.com"
MAIL_FROM_ADDRESS
"technology@ylbservices.com"
MAIL_PASSWORD
"HKboEN9S2nmyvGMW"
MAIL_FROM_NAME
"YLB Technology"
MAIL_ENCRYPTION
"ssl"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
TIMEZONE
"America/Los_Angeles"
JWT_SECRET
"eYdfun5HDN7BXKnWaUPMWTsJHcjhI1BZ"
ARCANEDEV_LOGVIEWER_MIDDLEWARE
"web,auth.log:admin"
GITHUB_CLIENT_ID
"332d56a94dadf4eef325"
GITHUB_CLIENT_SECRET
"e6dc4270a50b933fa3766f9cce5889dc9b5511c5"
GOOGLE_CLIENT_ID
"593484016160-skt0bjpe8tlftskhh77nhhh9faorkcli.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"dRRq4_tbJpeHUlfP64pDC5JN"
LINKEDIN_CLIENT_ID
"860lyuanbqow06"
LINKEDIN_CLIENT_SECRET
"bbEGEZIKQfvIaokJ"
GIT_SCRIPT
"/www"
GIT_PWD
"e4419464d570c4b497ba1979e790b104"
STRIPE_PUBLIC_KEY
"pk_test_VfEm0aeIZ85Ns7JzGXwsNfMj"
STRIPE_SECRET_KEY
"sk_test_qoVjYMRJpEPhvdvyM2dlOYm8"
CLIENT_ID
"AWGLCuyU2jCRC_zqVCj7vE2B2PaKUYYZkmVxeBCBW9oHnbDfkKJiZBgkB4jF-9FA5WKia-XYwNlSLTy5"
CLIENT_SECRET
"ELPepc1eVNdtLRrvwFwgD-peMfxeEr27zuVjAx6iculDXGhTOl8CnilfJwPKl-xG3f2-sAA4tSTp6gHm"
HANTE_TOKEN
"2d37988b2f7fa1bd319b824249dbe0205a6426fe58ed004c15d48cbfa02fb483"
HANTE_SECUREPAY
"https://api.hantepay.com/v1.3/transactions/securepay"
HANTE_SECUREPAY_IPN
"/api/pay/hante/ipn"
HANTE_SECUREPAY_BACK
"/api/pay/hante/securepay/callback"
HANTE_SECUREPAY_PAY
"/pay/hante/securepay"
subscription_monthly
"200"
subscription_quarter
"300"
ZOOM_JWT_TOKEN
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6ImQ5anpIbGRCVERDQi02V0UxeTN0OVEiLCJleHAiOjE2MDI3MjIxMjAsImlhdCI6MTU5MjE4MTA1MX0.tyUPN5gbEq-6qCj3uv0amWJEW5_ZExzzmynelD7F0UI"
LOG_SLACK_WEBHOOK_URL
"https://hooks.slack.com/services/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"
SENTRY_LARAVEL_DSN
"https://463800c7e0564c41b471e09654d5ab49@sentry.io/5182766"
0. Whoops\Handler\PrettyPageHandler