scheme:$parameters->path]"; } if (filter_var($parameters->host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) { return "$message [$parameters->scheme://[$parameters->host]:$parameters->port]"; } return "$message [$parameters->scheme://$parameters->host:$parameters->port]"; } /** * Helper method to handle connection errors. * * @param string $message Error message. * @param int […]" /> scheme:$parameters->path]"; } if (filter_var($parameters->host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) { return "$message [$parameters->scheme://[$parameters->host]:$parameters->port]"; } return "$message [$parameters->scheme://$parameters->host:$parameters->port]"; } /** * Helper method to handle connection errors. * * @param string $message Error message. * @param int […]"> - Write Best Story
Connect with us

Entertainment News

Published

on

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

AbstractConnection.php

            return "$message [$parameters->scheme:$parameters->path]";
        }
 
        if (filter_var($parameters->host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
            return "$message [$parameters->scheme://[$parameters->host]:$parameters->port]";
        }
 
        return "$message [$parameters->scheme://$parameters->host:$parameters->port]";
    }
 
    /**
     * Helper method to handle connection errors.
     *
     * @param string $message Error message.
     * @param int    $code    Error code.
     */
    protected function onConnectionError($message, $code = null)
    {
        CommunicationException::handle(
            new ConnectionException($this, static::createExceptionMessage($message), $code)
        );
    }
 
    /**
     * Helper method to handle protocol errors.
     *
     * @param string $message Error message.
     */
    protected function onProtocolError($message)
    {
        CommunicationException::handle(
            new ProtocolException($this, static::createExceptionMessage($message))
        );
    }
 
    /**
     * {@inheritdoc}
     */
    public function getResource()
    {

Arguments

  1. "Connection timed out [tcp://172.31.31.29:6379]"
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

            default:
                throw new InvalidArgumentException("Invalid scheme: '{$this->parameters->scheme}'.");
        }
    }
 
    /**
     * Creates a connected stream socket resource.
     *
     * @param ParametersInterface $parameters Connection parameters.
     * @param string              $address    Address for stream_socket_client().
     * @param int                 $flags      Flags for stream_socket_client().
     *
     * @return resource
     */
    protected function createStreamSocket(ParametersInterface $parameters, $address, $flags)
    {
        $timeout = (isset($parameters->timeout) ? (float) $parameters->timeout : 5.0);
 
        if (!$resource = @stream_socket_client($address, $errno, $errstr, $timeout, $flags)) {
            $this->onConnectionError(trim($errstr), $errno);
        }
 
        if (isset($parameters->read_write_timeout)) {
            $rwtimeout = (float) $parameters->read_write_timeout;
            $rwtimeout = $rwtimeout > 0 ? $rwtimeout : -1;
            $timeoutSeconds = floor($rwtimeout);
            $timeoutUSeconds = ($rwtimeout - $timeoutSeconds) * 1000000;
            stream_set_timeout($resource, $timeoutSeconds, $timeoutUSeconds);
        }
 
        if (isset($parameters->tcp_nodelay) && function_exists('socket_import_stream')) {
            $socket = socket_import_stream($resource);
            socket_set_option($socket, SOL_TCP, TCP_NODELAY, (int) $parameters->tcp_nodelay);
        }
 
        return $resource;
    }
 
    /**
     * Initializes a TCP stream resource.

Arguments

  1. "Connection timed out"
    
  2. 110
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

            $address = "tcp://[$parameters->host]:$parameters->port";
        }
 
        $flags = STREAM_CLIENT_CONNECT;
 
        if (isset($parameters->async_connect) && $parameters->async_connect) {
            $flags |= STREAM_CLIENT_ASYNC_CONNECT;
        }
 
        if (isset($parameters->persistent)) {
            if (false !== $persistent = filter_var($parameters->persistent, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)) {
                $flags |= STREAM_CLIENT_PERSISTENT;
 
                if ($persistent === null) {
                    $address = "{$address}/{$parameters->persistent}";
                }
            }
        }
 
        $resource = $this->createStreamSocket($parameters, $address, $flags);
 
        return $resource;
    }
 
    /**
     * Initializes a UNIX stream resource.
     *
     * @param ParametersInterface $parameters Initialization parameters for the connection.
     *
     * @return resource
     */
    protected function unixStreamInitializer(ParametersInterface $parameters)
    {
        if (!isset($parameters->path)) {
            throw new InvalidArgumentException('Missing UNIX domain socket path.');
        }
 
        $flags = STREAM_CLIENT_CONNECT;
 
        if (isset($parameters->persistent)) {

Arguments

  1. Parameters {#374}
    
  2. "tcp://172.31.31.29:6379"
    
  3. 4
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

     */
    protected function assertSslSupport(ParametersInterface $parameters)
    {
        if (
            filter_var($parameters->persistent, FILTER_VALIDATE_BOOLEAN) &&
            version_compare(PHP_VERSION, '7.0.0beta') < 0
        ) {
            throw new InvalidArgumentException('Persistent SSL connections require PHP >= 7.0.0.');
        }
    }
 
    /**
     * {@inheritdoc}
     */
    protected function createResource()
    {
        switch ($this->parameters->scheme) {
            case 'tcp':
            case 'redis':
                return $this->tcpStreamInitializer($this->parameters);
 
            case 'unix':
                return $this->unixStreamInitializer($this->parameters);
 
            case 'tls':
            case 'rediss':
                return $this->tlsStreamInitializer($this->parameters);
 
            default:
                throw new InvalidArgumentException("Invalid scheme: '{$this->parameters->scheme}'.");
        }
    }
 
    /**
     * Creates a connected stream socket resource.
     *
     * @param ParametersInterface $parameters Connection parameters.
     * @param string              $address    Address for stream_socket_client().
     * @param int                 $flags      Flags for stream_socket_client().
     *

Arguments

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

AbstractConnection.php

     *
     * @return mixed
     */
    abstract protected function createResource();
 
    /**
     * {@inheritdoc}
     */
    public function isConnected()
    {
        return isset($this->resource);
    }
 
    /**
     * {@inheritdoc}
     */
    public function connect()
    {
        if (!$this->isConnected()) {
            $this->resource = $this->createResource();
 
            return true;
        }
 
        return false;
    }
 
    /**
     * {@inheritdoc}
     */
    public function disconnect()
    {
        unset($this->resource);
    }
 
    /**
     * {@inheritdoc}
     */
    public function addConnectCommand(CommandInterface $command)
    {

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

            $options['crypto_type'] = STREAM_CRYPTO_METHOD_TLS_CLIENT;
        }
 
        if (!stream_context_set_option($resource, array('ssl' => $options))) {
            $this->onConnectionError('Error while setting SSL context options');
        }
 
        if (!stream_socket_enable_crypto($resource, true, $options['crypto_type'])) {
            $this->onConnectionError('Error while switching to encrypted communication');
        }
 
        return $resource;
    }
 
    /**
     * {@inheritdoc}
     */
    public function connect()
    {
        if (parent::connect() && $this->initCommands) {
            foreach ($this->initCommands as $command) {
                $response = $this->executeCommand($command);
 
                if ($response instanceof ErrorResponseInterface) {
                    $this->onConnectionError("`{$command->getId()}` failed: $response", 0);
                }
            }
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function disconnect()
    {
        if ($this->isConnected()) {
            fclose($this->getResource());
            parent::disconnect();
        }
    }

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

AbstractConnection.php

     *
     * @param string $message Error message.
     */
    protected function onProtocolError($message)
    {
        CommunicationException::handle(
            new ProtocolException($this, static::createExceptionMessage($message))
        );
    }
 
    /**
     * {@inheritdoc}
     */
    public function getResource()
    {
        if (isset($this->resource)) {
            return $this->resource;
        }
 
        $this->connect();
 
        return $this->resource;
    }
 
    /**
     * {@inheritdoc}
     */
    public function getParameters()
    {
        return $this->parameters;
    }
 
    /**
     * Gets an identifier for the connection.
     *
     * @return string
     */
    protected function getIdentifier()
    {
        if ($this->parameters->scheme === 'unix') {

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

    /**
     * {@inheritdoc}
     */
    public function disconnect()
    {
        if ($this->isConnected()) {
            fclose($this->getResource());
            parent::disconnect();
        }
    }
 
    /**
     * Performs a write operation over the stream of the buffer containing a
     * command serialized with the Redis wire protocol.
     *
     * @param string $buffer Representation of a command in the Redis wire protocol.
     */
    protected function write($buffer)
    {
        $socket = $this->getResource();
 
        while (($length = strlen($buffer)) > 0) {
            $written = @fwrite($socket, $buffer);
 
            if ($length === $written) {
                return;
            }
 
            if ($written === false || $written === 0) {
                $this->onConnectionError('Error while writing bytes to the server.');
            }
 
            $buffer = substr($buffer, $written);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function read()

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

StreamConnection.php

 
    /**
     * {@inheritdoc}
     */
    public function writeRequest(CommandInterface $command)
    {
        $commandID = $command->getId();
        $arguments = $command->getArguments();
 
        $cmdlen = strlen($commandID);
        $reqlen = count($arguments) + 1;
 
        $buffer = "*{$reqlen}rn${$cmdlen}rn{$commandID}rn";
 
        foreach ($arguments as $argument) {
            $arglen = strlen($argument);
            $buffer .= "${$arglen}rn{$argument}rn";
        }
 
        $this->write($buffer);
    }
}
 

Arguments

  1. """
    *2rn
    $6rn
    EXISTSrn
    $12rn
    LMPL-1962339rn
    """
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Connection

/

AbstractConnection.php

     */
    public function disconnect()
    {
        unset($this->resource);
    }
 
    /**
     * {@inheritdoc}
     */
    public function addConnectCommand(CommandInterface $command)
    {
        $this->initCommands[] = $command;
    }
 
    /**
     * {@inheritdoc}
     */
    public function executeCommand(CommandInterface $command)
    {
        $this->writeRequest($command);
 
        return $this->readResponse($command);
    }
 
    /**
     * {@inheritdoc}
     */
    public function readResponse(CommandInterface $command)
    {
        return $this->read();
    }
 
    /**
     * Helper method that returns an exception message augmented with useful
     * details from the connection parameters.
     *
     * @param string $message Error message.
     *
     * @return string
     */

Arguments

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Client.php

    {
        return $this->executeCommand(
            $this->createCommand($commandID, $arguments)
        );
    }
 
    /**
     * {@inheritdoc}
     */
    public function createCommand($commandID, $arguments = array())
    {
        return $this->profile->createCommand($commandID, $arguments);
    }
 
    /**
     * {@inheritdoc}
     */
    public function executeCommand(CommandInterface $command)
    {
        $response = $this->connection->executeCommand($command);
 
        if ($response instanceof ResponseInterface) {
            if ($response instanceof ErrorResponseInterface) {
                $response = $this->onErrorResponse($command, $response);
            }
 
            return $response;
        }
 
        return $command->parseResponse($response);
    }
 
    /**
     * Handles -ERR responses returned by Redis.
     *
     * @param CommandInterface       $command  Redis command that generated the error.
     * @param ErrorResponseInterface $response Instance of the error response.
     *
     * @throws ServerException
     *

Arguments

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

predis

/

predis

/

src

/

Client.php

        );
 
        if ($response instanceof ResponseInterface) {
            if ($response instanceof ErrorResponseInterface) {
                $error = true;
            }
 
            return (string) $response;
        }
 
        return $response;
    }
 
    /**
     * {@inheritdoc}
     */
    public function __call($commandID, $arguments)
    {
        return $this->executeCommand(
            $this->createCommand($commandID, $arguments)
        );
    }
 
    /**
     * {@inheritdoc}
     */
    public function createCommand($commandID, $arguments = array())
    {
        return $this->profile->createCommand($commandID, $arguments);
    }
 
    /**
     * {@inheritdoc}
     */
    public function executeCommand(CommandInterface $command)
    {
        $response = $this->connection->executeCommand($command);
 
        if ($response instanceof ResponseInterface) {
            if ($response instanceof ErrorResponseInterface) {

Arguments

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Redis

/

Connections

/

Connection.php

     * @param  Closure  $callback
     * @return void
     */
    public function psubscribe($channels, Closure $callback)
    {
        return $this->createSubscription($channels, $callback, __FUNCTION__);
    }
 
    /**
     * Run a command against the Redis database.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     */
    public function command($method, array $parameters = [])
    {
        $start = microtime(true);
 
        $result = $this->client->{$method}(...$parameters);
 
        $time = round((microtime(true) - $start) * 1000, 2);
 
        if (isset($this->events)) {
            $this->event(new CommandExecuted($method, $parameters, $time, $this));
        }
 
        return $result;
    }
 
    /**
     * Fire the given event if possible.
     *
     * @param  mixed  $event
     * @return void
     */
    protected function event($event)
    {
        if (isset($this->events)) {
            $this->events->dispatch($event);

Arguments

  1. "exists"
    
  2. array:1 [
      0 => "LMPL-1962339"
    ]
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Redis

/

Connections

/

Connection.php

    /**
     * Unset the event dispatcher instance on the connection.
     *
     * @return void
     */
    public function unsetEventDispatcher()
    {
        $this->events = null;
    }
 
    /**
     * Pass other method calls down to the underlying client.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        return $this->command($method, $parameters);
    }
}
 

Arguments

  1. "exists"
    
  2. array:1 [
      0 => "LMPL-1962339"
    ]
    

/

var

/

www

/

projects

/

www.latestly.com

/

app

/

helpers.php

    }else{
        $redisConsKey = $redis_key_prefix.$redisKey;
    }
 
    $result = $redis->set($redisConsKey, $redisValue);
    return true;
}
function getRedisData($redisKey, $responseType=true, $withoutkey=true){
    $redis_key_prefix = '';
    if($withoutkey == 'true')
        $redis_key_prefix = Config::get('ly_config.REDIS.REDIS_KEY_PREFIX');
    $redis = Redis::connection();
 
    if(strstr($redisKey, "LIVE-")){
        $redisConsKey = $redisKey;
    }else{
        $redisConsKey = $redis_key_prefix.$redisKey;
    }
    
    if($redis->exists($redisConsKey)){
        $result = $redis->get($redisConsKey);
 
        //$result = RedisSlave::getJSON($redisConsKey);
        if($responseType==true){
            $responseData = json_decode($result, true);
        }else{
            $responseData = json_decode($result);
        }    
        //remove before live
        if(config('ly_config.LYENV') == 'DEV' && is_array($responseData)){
            foreach ($responseData as $k => $article_data) {
                if(!empty($article_data['url'])){
                    $responseData[$k]['url'] = str_replace('http://dev.latestly.com/', config('ly_config.DOMAIN_URL'),$article_data['url']);
                }
            }
        }
        return $responseData;
    }else{
        return false;
    }

Arguments

  1. "exists"
    
  2. array:1 [
      0 => "LMPL-1962339"
    ]
    

/

var

/

www

/

projects

/

www.latestly.com

/

app

/

Http

/

Controllers

/

ArticleController.php

            $category_slug = $var1;
            $article_slug = $var2;
            $category_name = config('ly_config.PARENTCATEGORY.'.$category_slug);
            $main_category_slug = $category_slug;
            $main_category_name = $category_name;
        }else{
            $category_slug = $var1;
            $category_name = config('ly_config.PARENTCATEGORY.'.$category_slug);
            $sub_category_slug = $var2;
            $sub_category_name = config('ly_config.SCATEGORYSLUG.'.$category_slug.'.'.$sub_category_slug);
            $article_slug = $var3;
            $main_category_slug = $sub_category_slug;
            $main_category_name = $sub_category_name;
        }
 
        $articleSlug = explode("-", $article_slug);
        $article_id = $articleSlug[count($articleSlug)-1];
        $article_slug = str_replace('-'.$article_id,'', $article_slug);
        
        $articleData    = getRedisData($article_id, $responseType=true);
       
        //if wrong slug or id then url return 404
        if(empty($articleData)){
            $metaData = array(
                'pageTitle'=>'404 Page not found | Latestly.com',
                'description'=>'Please try one of the following pages.',
                'schema_title'=>'404 Page not found | Latestly.com',
                'pageType' => '404',
                'url'=>config('ly_config.DOMAIN_URL'),
                'og_image'=>config('ly_config.STATIC_DOMAIN').'images/logo-bangla.png'
            );
            $breadcrumb = breadcrumb(array(''=>'Page not found'), config('ly_config.DOMAIN_URL'), '404 Page not found | Latestly.com','true','true');
            $breadcrumb_mobile = breadcrumb_mobile(array(''=>'Page not found'),'true');
            $homePageData = [
                'metaData' => $metaData,
                'breadcrumb'       => $breadcrumb,
                'breadcrumb_mobile' => $breadcrumb_mobile
            ];
            return response()->view('template.' . 'FileNoteFound', compact('homePageData'), 404);
            exit;

Arguments

/

var

/

www

/

projects

/

www.latestly.com

/

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 SymfonyComponentHttpFoundationResponse
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 

Arguments

  1. "entertainment"
    
  2. "south"
    
  3. "marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339"
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 SymfonyComponentHttpFoundationResponse
     */
    public function callAction($method, $parameters)
    {
        return call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 

Arguments

  1. array:2 [
      0 => ArticleController {#266}
      1 => "article"
    ]
    
  2. array:3 [
      "cat_slug" => "entertainment"
      "subcat_slug" => "south"
      "slug" => "marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339"
    ]
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

ControllerDispatcher.php

    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  IlluminateRoutingRoute  $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  IlluminateRoutingController  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);

Arguments

  1. "article"
    
  2. array:3 [
      "cat_slug" => "entertainment"
      "subcat_slug" => "south"
      "slug" => "marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339"
    ]
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 SymfonyComponentHttpKernelExceptionNotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\'));
        }
 
        return $this->controller;
    }
 
    /**

Arguments

  1. Route {#195}
    
  2. ArticleController {#266}
    
  3. "article"
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Route.php

     *
     * @throws UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Router.php

    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  IlluminateRoutingRoute  $route
     * @param  IlluminateHttpRequest  $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  IlluminateRoutingRoute  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Pipeline.php

use SymfonyComponentDebugExceptionFatalThrowableError;
 
/**
 * 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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Middleware

/

SubstituteBindings.php

     */
public function __construct(Registrar $router)
{
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#277 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Middleware

/

VerifyCsrfToken.php

    }
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $request
* @param  Closure  $next
* @return mixed
*
* @throws IlluminateSessionTokenMismatchException
*/
public function handle($request, Closure $next)
{
if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
throw new TokenMismatchException;
}
/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param  IlluminateHttpRequest  $request
* @return bool
*/
protected function isReading($request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#337 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

View

/

Middleware

/

ShareErrorsFromSession.php

     * Handle an incoming request.
*
* @param  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#338 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Session

/

Middleware

/

StartSession.php

     * @param  IlluminateHttpRequest  $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  IlluminateHttpRequest  $request
* @param  SymfonyComponentHttpFoundationResponse  $response
* @return void
*/

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#339 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Cookie

/

Middleware

/

AddQueuedCookiesToResponse.php

     * Create a new CookieQueue instance.
*
* @param  IlluminateContractsCookieQueueingFactory  $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#340 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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  IlluminateHttpRequest  $request
* @param  Closure  $next
* @return SymfonyComponentHttpFoundationResponse
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param  SymfonyComponentHttpFoundationRequest  $request
* @return SymfonyComponentHttpFoundationRequest
*/
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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#341 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Router.php

     *
* @param  IlluminateRoutingRoute  $route
* @param  IlluminateHttpRequest  $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  IlluminateRoutingRoute  $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) {#276 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Router.php

        return $route;
}
/**
* Return the response for the given route.
*
* @param  IlluminateHttpRequest  $request
* @param  IlluminateRoutingRoute  $route
* @return mixed
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new EventsRouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param  IlluminateRoutingRoute  $route
* @param  IlluminateHttpRequest  $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 {#195}
    
  2. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Router.php

     *
* @param  IlluminateHttpRequest  $request
* @return IlluminateHttpResponse|IlluminateHttpJsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param  IlluminateHttpRequest  $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param  IlluminateHttpRequest  $request
* @return IlluminateRoutingRoute
*/
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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Route {#195}
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Router.php

     * @return mixed
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param  IlluminateHttpRequest  $request
* @return IlluminateHttpResponse|IlluminateHttpJsonResponse
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param  IlluminateHttpRequest  $request
* @return mixed
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param  IlluminateHttpRequest  $request
* @return IlluminateRoutingRoute
*/
protected function findRoute($request)

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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  IlluminateHttpRequest  $request
* @param  IlluminateHttpResponse  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Routing

/

Pipeline.php

use SymfonyComponentDebugExceptionFatalThrowableError;
/**
* 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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

fideloper

/

proxy

/

src

/

TrustProxies.php

    {
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param IlluminateHttpRequest $request
* @param Closure                 $next
*
* @throws SymfonyComponentHttpKernelExceptionHttpException
*
* @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 IlluminateHttpRequest $request
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// Only trust specific IP addresses
if (is_array($trustedIps)) {
return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
}
// Trust any IP address that calls us
// `**` for backwards compatibility, but is depreciated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#135 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Middleware

/

TransformsRequest.php

     *
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $request
* @param  Closure  $next
* @param  array  ...$attributes
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#247 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Middleware

/

TransformsRequest.php

     *
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $request
* @param  Closure  $next
* @param  array  ...$attributes
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#248 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Middleware

/

ValidatePostSize.php

class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param  IlluminateHttpRequest  $request
* @param  Closure  $next
* @return mixed
*
* @throws IlluminateHttpExceptionsPostTooLargeException
*/
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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#249 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Middleware

/

CheckForMaintenanceMode.php

     *
* @throws SymfonyComponentHttpKernelExceptionHttpException
*/
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  IlluminateHttpRequest  $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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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];
}
$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->container->make(Request::class))
: $response;
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param  string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    
  2. Closure($passable) {#250 …6}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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 {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

vendor

/

laravel

/

framework

/

src

/

Illuminate

/

Foundation

/

Http

/

Kernel.php

    }
/**
* Send the given request through the middleware / router.
*
* @param  IlluminateHttpRequest  $request
* @return IlluminateHttpResponse
*/
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) {#22 …5}
    

/

var

/

www

/

projects

/

www.latestly.com

/

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  IlluminateHttpRequest  $request
* @return IlluminateHttpResponse
*/
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 EventsRequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

/

var

/

www

/

projects

/

www.latestly.com

/

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(IlluminateContractsHttpKernel::class);
$response = $kernel->handle(
$request = IlluminateHttpRequest::capture()
);
$response->send();
$kernel->terminate($request, $response);

Arguments

  1. Request {#42
    #json: null
    #convertedFiles: null
    #userResolver: Closure($guard = null) {#267 …6}
    #routeResolver: Closure() {#269 …5}
    +attributes: ParameterBag {#44}
    +request: ParameterBag {#50}
    +query: ParameterBag {#50}
    +server: ServerBag {#46}
    +files: FileBag {#47}
    +cookies: ParameterBag {#45}
    +headers: HeaderBag {#48}
    #content: null
    #languages: null
    #charsets: null
    #encodings: null
    #acceptableContentTypes: array:1 [
    0 => "*/*"
    ]
    #pathInfo: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #requestUri: "/entertainment/south/marakkar-arabikadalinte-simham-mohanlal-cuts-a-striking-pose-in-this-new-still-from-the-upcoming-malayalam-period-drama-view-pic-1962339.html"
    #baseUrl: ""
    #basePath: null
    #method: "GET"
    #format: null
    #session: Store {#353}
    #locale: null
    #defaultLocale: "en"
    -isHostValid: true
    -isForwardedValid: true
    basePath: ""
    format: "html"
    }
    

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Box Office Collections

Krack Day 5 Box Office Collection

Published

on

Krack performed well on its first 4 days at the box office and earned ₹ 18.35 Cr India net. Here is Krack 5th day box office collection and Occupancy.Krack may earn 2.00 Cr on its fifth day.Krack 5 Days Box Office CollectionDayIndia Net CollectionDay 1 [1st Saturday]₹ 0.95 CrDay 2 [1st Sunday]₹ 9.00 CrDay 3 [1st Monday]₹ 4.50 CrDay 4 [1st Tuesday]₹ 3.90 CrDay 5 [1st Wesdnesday]₹ 2.00 Cr * may earnTotal₹ 20.35 Cr
5 Days India Net Collection ₹ – Cr5 Days Worldwide Collection ₹ – Cr5 Days Overseas Collection ₹ – Cr5 Days India Gross Collection ₹ – Cr5 Days Worldwide Share ₹ – CrKrack AP/TG area wise share collectionDayNizamCededGunturKrishnaNelloreWestEastUADay TotalDay 1 [1st Saturday]₹ 0.25 Cr₹ 0.05 Cr₹ 0.05 Cr₹ 0.06 Cr₹ 0.04 Cr₹ 0.05 Cr₹ 0.03 Cr₹ 0.07 Cr₹ 0.60 CrDay 2 [1st Sunday]₹ 2.05 Cr₹ 0.95 Cr₹ 0.60 Cr₹ 0.40 Cr₹ 0.23 Cr₹ 0.52 Cr₹ 0.40 Cr₹ 0.75 Cr₹ 5.90 CrDay 3 [1st Monday]₹ 1.00 Cr₹ 0.60 Cr₹ 0.25 Cr₹ 0.20 Cr₹ 0.15 Cr₹ 0.17 Cr₹ 0.30 Cr₹ 0.35 Cr₹ 3.02 CrDay 4 [1st Tuesday]₹ 1.00 Cr₹ 0.55 Cr₹ 0.20 Cr₹ 0.15 Cr₹ 0.15 Cr₹ 0.15 Cr₹ 0.20 Cr₹ 0.30 Cr₹ 2.70 CrTotal AP/TG Share₹ 4.30 Cr₹ 2.15 Cr₹ 1.10 Cr₹ 0.81 Cr₹ 0.57 Cr₹ 0.89 Cr₹ 0.93 Cr₹ 1.47 Cr₹ 12.22 Cr

Krack had an overall 44.88% Telugu Occupancy on Wednesday, January 13, 2021.Krack Day 5 Telugu Occupancy in Theaters
Morning Shows: 31.61%Afternoon Shows: 58.15%Evening Shows: -%Night Shows: -%Note: For mobile, Rotate the screen for the best view. Krack Day 5 Telugu Occupancy in main regionsRegionOverallMorningAfternoonEveningNightShowsBengaluru17.50%15%20%%%100Hyderabad40.00%25%55%%%250Chennai25.00%%25%%%4Vijayawada45.00%25%65%%%70Warangal82.50%70%95%%%16Guntur82.00%65%99%%%20Vizag-Visakhapatnam80.00%65%95%%%70Nizamabad72.50%60%85%%%10
This film is directed by Gopichand Malineni and produced by Saraswathi Films Division. Krack stars Ravi Teja, Shruthi Haasan, Varalaxmi Sarathkumar, and Samuthirakani in key roles. For more and the latest news about Tollywood Box Office Collection, Stay tuned to us.
Disclaimer: The Box Office Data are compiled from various sources and by our own research.
These data can be approximate and Sacnilk does not make any claims about the authenticity of the data.

Recent Information about Movies
KGF Chapter 2 Teaser released on 7th January 2021 at 9:29 pm. It is be available on Hombale Films Youtube Channel. more facts about KGF Chapter 2
Animal movie was announced on 1st Jan 2021 at 12:00 AM with a video on Youtube Channel of T-series. more facts about Animal
Vakeel Saab Teaser will be released on 14th January 2021 on Sankranthi. (This update was done on 12:01 AM on 1st Jan 2021 with a poster). more facts about Vakeel Saab
Raveena Tandon’s first look as Ramika Sen from KGF: Chapter 2 was unveiled on her birthday on October 26, 2020. more facts about KGF Chapter 2
The upcoming film, Taish will release on ZEE5 on 29 October 2020 as a feature film and as a six-episode series simultaneously more facts about Taish

Continue Reading

Box Office Collections