[ad_1]
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
ApiHandler.php
return $headerArr; } public operate solr_query($url){ $this->solr_url = $url; //Log::data("-----Curl:".$this->ch."-----URL:".$this->solr_url); curl_setopt($this->ch, CURLOPT_URL,$this->solr_url); curl_setopt($this->ch, CURLOPT_HTTPHEADER, array( 'Content material-Kind: software/json', 'Settle for: software/json' )); curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($this->ch, CURLOPT_NOSIGNAL, 1); curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 5); $knowledge = curl_exec($this->ch); $curl_error = curl_error($this->ch); $curl_errno = curl_errno($this->ch); if ($curl_errno > 0) { $logdate = date('Y-m-d H:i:s'); $logmsg = $logdate." : function - lmpl_clean_solr_feed found error - curl_errno : [".$curl_errno."], curl_error: [".$curl_error."], data : [".$knowledge."] , Solr Query: [".$QueryUrl."]n"; error_log($logmsg,3,"/var/log/php-fpm/curl-solrfunction-error.log"); return false; } return $knowledge; } /* public operate api_query($context,$technique='GET',$knowledge=null){ $url = config('docubayconfig.EPICAPI.API_DOMAIN').$context.'/'; $querystring = $fields_string =''; $knowledge['x_country'] = $_SERVER['HTTP_X_REGION']; if($technique=='POST'){ if($knowledge!= null && !empty($knowledge)){ $fields_string = http_build_query($knowledge); } $this->api_url = $url; return $this->PostCurlToApi($fields_string); } else { $this->api_url = ($knowledge!= null && !empty($knowledge)) ? $url."?".preparePostFields($knowledge) : $url; return $this->GetCurlToApi(); }
Arguments
-
"Undefined variable: QueryUrl"
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
ApiHandler.php
return $headerArr; } public operate solr_query($url){ $this->solr_url = $url; //Log::data("-----Curl:".$this->ch."-----URL:".$this->solr_url); curl_setopt($this->ch, CURLOPT_URL,$this->solr_url); curl_setopt($this->ch, CURLOPT_HTTPHEADER, array( 'Content material-Kind: software/json', 'Settle for: software/json' )); curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($this->ch, CURLOPT_NOSIGNAL, 1); curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 5); $knowledge = curl_exec($this->ch); $curl_error = curl_error($this->ch); $curl_errno = curl_errno($this->ch); if ($curl_errno > 0) { $logdate = date('Y-m-d H:i:s'); $logmsg = $logdate." : function - lmpl_clean_solr_feed found error - curl_errno : [".$curl_errno."], curl_error: [".$curl_error."], data : [".$knowledge."] , Solr Query: [".$QueryUrl."]n"; error_log($logmsg,3,"/var/log/php-fpm/curl-solrfunction-error.log"); return false; } return $knowledge; } /* public operate api_query($context,$technique='GET',$knowledge=null){ $url = config('docubayconfig.EPICAPI.API_DOMAIN').$context.'/'; $querystring = $fields_string =''; $knowledge['x_country'] = $_SERVER['HTTP_X_REGION']; if($technique=='POST'){ if($knowledge!= null && !empty($knowledge)){ $fields_string = http_build_query($knowledge); } $this->api_url = $url; return $this->PostCurlToApi($fields_string); } else { $this->api_url = ($knowledge!= null && !empty($knowledge)) ? $url."?".preparePostFields($knowledge) : $url; return $this->GetCurlToApi(); }
Arguments
-
8
-
"Undefined variable: QueryUrl"
-
"/var/www/projects/www.latestly.com/app/ApiHandler.php"
-
50
-
array:5 [ "url" => "http://172.31.31.29:8983/solr/lynews/select?q=tags%3A%28%22cheetah%22%2C%22cheetah-conservation%22%2C%22cheetah-day%22%2C%22cheetahs%22%2C%22festivals-and-events%22%2C%22help-cheetahs%22%2C%22international-cheetah-day%22%2C%22international-cheetah-day-2022%22%2C%22international-cheetah-day-2022-date%22%2C%22international-cheetah-day-celebration%22%2C%22international-cheetah-day-history%22%2C%22international-cheetah-day-images%22%2C%22international-cheetah-day-significance%22%2C%22save-the-cheetahs%22%2C%22wildlife-protection%22%29+AND+!id%3A%22LMPL_Article_4534443%22+AND+post_type%3A%22Article%22+AND+!categories_slug%3Aagency-news&sort=update_date+desc&start=0&rows=4&wt=json&indent=true" "data" => false "curl_error" => "couldn't connect to host" "curl_errno" => 7 "logdate" => "2022-12-04 05:40:14" ]
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
Suppliers
/
HelperServiceProvider.php
/** * Register companies. * * @return void */ public operate register() { require_once app_path() . '/ApiHandler.php'; require_once app_path().'/libraries/akamai_video.php'; } // public static operate api($context,$technique='GET',$knowledge=null){ // international $api_client; // return $api_client->api_query($context,$technique,$knowledge); // } public static operate solrClient($url){ international $solr_client; return $solr_client->solr_query($url); } public static operate akamai_set_acl($url){ international $c; return $c->set_acl(); } public static operate akamai_set_key($url){ international $c; return $c->set_key(); } }
Arguments
-
"http://172.31.31.29:8983/solr/lynews/select?q=tags%3A%28%22cheetah%22%2C%22cheetah-conservation%22%2C%22cheetah-day%22%2C%22cheetahs%22%2C%22festivals-and-events%22%2C%22help-cheetahs%22%2C%22international-cheetah-day%22%2C%22international-cheetah-day-2022%22%2C%22international-cheetah-day-2022-date%22%2C%22international-cheetah-day-celebration%22%2C%22international-cheetah-day-history%22%2C%22international-cheetah-day-images%22%2C%22international-cheetah-day-significance%22%2C%22save-the-cheetahs%22%2C%22wildlife-protection%22%29+AND+!id%3A%22LMPL_Article_4534443%22+AND+post_type%3A%22Article%22+AND+!categories_slug%3Aagency-news&sort=update_date+desc&start=0&rows=4&wt=json&indent=true"
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
helpers.php
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_NOSIGNAL, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); $knowledge = curl_exec($ch); $curl_errno = curl_errno($ch); $curl_error = curl_error($ch); curl_close($ch); if ($curl_errno > 0) { $logdate = date('d-m-Y H:i'); $logmsg = $logdate." : function - lmpl_clean_solr_feed found error - curl_errno : [".$curl_errno."], curl_error: [".$curl_error."], data : [".$knowledge."] , Solr Query: [".$QueryUrl."]n"; error_log($logmsg,3,"/var/log/php-fpm/curl-solrfunction-error.log"); return false; }else{ return $knowledge; } } operate lmpl_clean_solr_feed($QueryUrl){ if(empty($QueryUrl)) return; return ApiHelper::solrClient($QueryUrl); } /* * set random picture when featured picture not set */ operate randam_default_img(){ $img = array(' ' $random_keys=array_rand($img,1); return $img[$random_keys]; } operate breadcrumb($para=array(),$url="",$title="",$final='false',$social='false'){ if(!empty($title)){ $title = str_replace('&', 'and',str_replace('&', 'and', $title)); } $breadcrumb = '<div class="breadcrumb_social_share_blk"><ul class="breadcrumb col-sm-9" itemscope="" itemtype=" itemprop="itemListElement" itemscope="" itemtype=" class="breadcrumb-item"><a itemprop="item" href="'.rtrim(config('ly_config.DOMAIN_URL'),'/').'" title="Home"><span itemprop="name">Dwelling</span></a><meta itemprop="position" content material="1"></li>'; if(!empty($para)){ $slug_url = ''; $okay=1; $aCount = rely($para)+1;
Arguments
-
"http://172.31.31.29:8983/solr/lynews/select?q=tags%3A%28%22cheetah%22%2C%22cheetah-conservation%22%2C%22cheetah-day%22%2C%22cheetahs%22%2C%22festivals-and-events%22%2C%22help-cheetahs%22%2C%22international-cheetah-day%22%2C%22international-cheetah-day-2022%22%2C%22international-cheetah-day-2022-date%22%2C%22international-cheetah-day-celebration%22%2C%22international-cheetah-day-history%22%2C%22international-cheetah-day-images%22%2C%22international-cheetah-day-significance%22%2C%22save-the-cheetahs%22%2C%22wildlife-protection%22%29+AND+!id%3A%22LMPL_Article_4534443%22+AND+post_type%3A%22Article%22+AND+!categories_slug%3Aagency-news&sort=update_date+desc&start=0&rows=4&wt=json&indent=true"
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
helpers.php
}elseif($pagetype == 'article'){ }elseif($pagetype == 'class'){ $cat_query = urlencode('categories_slug:"'.$var_value.'"'); $pType='%28post_typepercent3Apercent22Articlepercent22+OR+post_typepercent3Apercent22sociallypercent22percent29'; if($var_value == 'leisure'){ $pType='post_typepercent3Apercent22Articlepercent22'; } $solrQuery = " }elseif($pagetype == 'tags'){ $tags_query = urlencode('tags_slug:"'.$var_value.'"'); $solrQuery = " }elseif($pagetype == 'question'){ $solrQuery = " }else{ } //echo $solrQuery;die; $solrQueryResult = lmpl_clean_solr_feed($solrQuery); $queryResult = json_decode($solrQueryResult, true); if(!empty($queryResult['response']['docs'])){ $outcome = $queryResult['response']['docs']; foreach($outcome as $okay=>$v){ //take away earlier than reside if(!empty($v['posturl']) && config('ly_config.LYENV') == 'DEV'){ $v['posturl'] = str_replace(" config('ly_config.DOMAIN_URL'), $v['posturl']); } if(isset($v['post_image_thumbs']) && is_array($v['post_image_thumbs']) && !empty($v['post_image_thumbs'])){ foreach($v['post_image_thumbs'] as $key=>$t){ $t_array = explode("#",$t); if(empty($t_array[0])){ if($t_array[1] == 'in-featured') $v['thumbnail'][$t_array[1]] = str_replace(".jpg","-784x441.jpg",randam_default_img()); elseif($t_array[1] == 'in-large') $v['thumbnail'][$t_array[1]] = str_replace(".jpg","-380x214.jpg",randam_default_img()); elseif($t_array[1] == 'in-medium') $v['thumbnail'][$t_array[1]] = str_replace(".jpg","-185x104.jpg",randam_default_img()); elseif($t_array[1] == 'in-thumb')
Arguments
-
"http://172.31.31.29:8983/solr/lynews/select?q=tags%3A%28%22cheetah%22%2C%22cheetah-conservation%22%2C%22cheetah-day%22%2C%22cheetahs%22%2C%22festivals-and-events%22%2C%22help-cheetahs%22%2C%22international-cheetah-day%22%2C%22international-cheetah-day-2022%22%2C%22international-cheetah-day-2022-date%22%2C%22international-cheetah-day-celebration%22%2C%22international-cheetah-day-history%22%2C%22international-cheetah-day-images%22%2C%22international-cheetah-day-significance%22%2C%22save-the-cheetahs%22%2C%22wildlife-protection%22%29+AND+!id%3A%22LMPL_Article_4534443%22+AND+post_type%3A%22Article%22+AND+!categories_slug%3Aagency-news&sort=update_date+desc&start=0&rows=4&wt=json&indent=true"
var
/
www
/
initiatives
/
www.latestly.com
/
app
/
Http
/
Controllers
/
ArticleController.php
$tagsData = ''; if(!empty($tags)){ foreach($tags as $tag){ $tagsData .= '"'.$tag['slug'].'",'; } $tagsData= rtrim($tagsData,","); $tagsData=preg_replace('/","$/','',$tagsData); $tagsData= '('.$tagsData.')'; } }else{ $tagsData = "India"; } $relatedNews = ''; $sTagsData = urlencode($tagsData); if(!empty($tags)){ $tSolrQuery = 'tagspercent3A'.$sTagsData.'+AND+!idpercent3Apercent22LMPL_Article_'.$articleData['id'].'%22+AND+post_typepercent3Apercent22Articlepercent22+AND+!categories_slugpercent3Aagency-news'; $relatedNews = getSolrData($tSolrQuery,'question',4); } if(isset($articleData['category'])){ foreach($articleData['category'] as $key => $allCat){ if(isset($allCat['parent_slug'])){ $parentCat = $allCat['parent_slug']; //$allCat['parent_slug']; $subCat = $allCat['slug']; } else{ $parentCat = $articleData['category'][0]['slug']; } $primeryCat = $articleData['category'][0]; } }else{ $parentCat = 'data'; } $relatedArticleData = array(); if(empty($relatedNews) || rely($relatedNews) < 4){ $sparentCat = urlencode($parentCat); $relatedIdlist = ''; if(empty($relatedNews)){
Arguments
-
"tags%3A%28%22cheetah%22%2C%22cheetah-conservation%22%2C%22cheetah-day%22%2C%22cheetahs%22%2C%22festivals-and-events%22%2C%22help-cheetahs%22%2C%22international-cheetah-day%22%2C%22international-cheetah-day-2022%22%2C%22international-cheetah-day-2022-date%22%2C%22international-cheetah-day-celebration%22%2C%22international-cheetah-day-history%22%2C%22international-cheetah-day-images%22%2C%22international-cheetah-day-significance%22%2C%22save-the-cheetahs%22%2C%22wildlife-protection%22%29+AND+!id%3A%22LMPL_Article_4534443%22+AND+post_type%3A%22Article%22+AND+!categories_slug%3Aagency-news"
-
"question"
-
4
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
/** * Get the middleware assigned to the controller. * * @return array */ public operate getMiddleware() { return $this->middleware; } /** * Execute an motion on the controller. * * @param string $technique * @param array $parameters * @return SymfonyComponentHttpFoundationResponse */ public operate callAction($technique, $parameters) { return call_user_func_array([$this, $method], $parameters); } /** * Deal with calls to lacking strategies on the controller. * * @param string $technique * @param array $parameters * @return blended * * @throws BadMethodCallException */ public operate __call($technique, $parameters) { throw new BadMethodCallException(sprintf( 'Technique %s::%s doesn't exist.', static::class, $technique )); } }
Arguments
-
"way of life"
-
"festivals-events"
-
"international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443"
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
/** * Get the middleware assigned to the controller. * * @return array */ public operate getMiddleware() { return $this->middleware; } /** * Execute an motion on the controller. * * @param string $technique * @param array $parameters * @return SymfonyComponentHttpFoundationResponse */ public operate callAction($technique, $parameters) { return call_user_func_array([$this, $method], $parameters); } /** * Deal with calls to lacking strategies on the controller. * * @param string $technique * @param array $parameters * @return blended * * @throws BadMethodCallException */ public operate __call($technique, $parameters) { throw new BadMethodCallException(sprintf( 'Technique %s::%s doesn't exist.', static::class, $technique )); } }
Arguments
-
array:2 [ => ArticleController {#305} 1 => "article" ]
-
array:3 [ "cat_slug" => "lifestyle" "subcat_slug" => "festivals-events" "slug" => "international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443" ]
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
ControllerDispatcher.php
{ $this->container = $container; } /** * Dispatch a request to a given controller and technique. * * @param IlluminateRoutingRoute $route * @param blended $controller * @param string $technique * @return blended */ public operate dispatch(Route $route, $controller, $technique) { $parameters = $this->resolveClassMethodDependencies( $route->parametersWithoutNulls(), $controller, $technique ); if (method_exists($controller, 'callAction')) { return $controller->callAction($technique, $parameters); } return $controller->{$technique}(...array_values($parameters)); } /** * Get the middleware for the controller occasion. * * @param IlluminateRoutingController $controller * @param string $technique * @return array */ public operate getMiddleware($controller, $technique) { if (! method_exists($controller, 'getMiddleware')) { return []; } return gather($controller->getMiddleware())->reject(operate ($knowledge) use ($technique) { return static::methodExcludedByOptions($technique, $knowledge['options']);
Arguments
-
"article"
-
array:3 [ "cat_slug" => "lifestyle" "subcat_slug" => "festivals-events" "slug" => "international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443" ]
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
protected operate runCallable() { $callable = $this->motion['uses']; return $callable(...array_values($this->resolveMethodDependencies( $this->parametersWithoutNulls(), new ReflectionFunction($this->motion['uses']) ))); } /** * Run the route motion and return the response. * * @return blended * * @throws SymfonyComponentHttpKernelExceptionNotFoundHttpException */ protected operate runController() { return $this->controllerDispatcher()->dispatch( $this, $this->getController(), $this->getControllerMethod() ); } /** * Get the controller occasion for the route. * * @return blended */ public operate getController() { if (! $this->controller) { $class = $this->parseControllerCallback()[0]; $this->controller = $this->container->make(ltrim($class, '')); } return $this->controller; } /**
Arguments
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
* * @throws UnexpectedValueException */ protected operate parseAction($motion) { return RouteAction::parse($this->uri, $motion); } /** * Run the route motion and return the response. * * @return blended */ public operate run() { $this->container = $this->container ?: new Container; attempt { if ($this->isControllerAction()) { return $this->runController(); } return $this->runCallable(); } catch (HttpResponseException $e) { return $e->getResponse(); } } /** * Checks whether or not the route's motion is a controller. * * @return bool */ protected operate isControllerAction() { return is_string($this->motion['uses']); } /** * Run the route motion and return the response.
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
/** * Run the given route inside a Stack "onion" occasion. * * @param IlluminateRoutingRoute $route * @param IlluminateHttpRequest $request * @return blended */ protected operate runRouteWithinStack(Route $route, Request $request) { $shouldSkipMiddleware = $this->container->certain('middleware.disable') && $this->container->make('middleware.disable') === true; $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->ship($request) ->via($middleware) ->then(operate ($request) use ($route) { return $this->prepareResponse( $request, $route->run() ); }); } /** * Collect the middleware for the given route with resolved class names. * * @param IlluminateRoutingRoute $route * @return array */ public operate gatherRouteMiddleware(Route $route) { $middleware = gather($route->gatherMiddleware())->map(operate ($title) { return (array) MiddlewareNameResolver::resolve($title, $this->middleware, $this->middlewareGroups); })->flatten(); return $this->sortMiddleware($middleware); } /**
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
use SymfonyComponentDebugExceptionFatalThrowableError; /** * This prolonged pipeline catches any exceptions that happen throughout every slice. * * The exceptions are transformed to HTTP responses for correct middleware dealing with. */ class Pipeline extends BasePipeline { /** * Get the ultimate piece of the Closure onion. * * @param Closure $vacation spot * @return Closure */ protected operate prepareDestination(Closure $vacation spot) { return operate ($satisfactory) use ($vacation spot) { attempt { return $vacation spot($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry();
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Middleware
/
SubstituteBindings.php
*/ public operate __construct(Registrar $router) { $this->router = $router; } /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended */ public operate deal with($request, Closure $subsequent) { $this->router->substituteBindings($route = $request->route()); $this->router->substituteImplicitBindings($route); return $subsequent($request); } }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#316 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Middleware
/
VerifyCsrfToken.php
} /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended * * @throws IlluminateSessionTokenMismatchException */ public operate deal with($request, Closure $subsequent) { if ( $this->isReading($request) || $this->runningUnitTests() || $this->inExceptArray($request) || $this->tokensMatch($request) ) { return faucet($subsequent($request), operate ($response) use ($request) { if ($this->shouldAddXsrfTokenCookie()) { $this->addCookieToResponse($request, $response); } }); } throw new TokenMismatchException; } /** * Decide if the HTTP request makes use of a ‘read’ verb. * * @param IlluminateHttpRequest $request * @return bool */ protected operate isReading($request) { return in_array($request->technique(), ['HEAD', 'GET', 'OPTIONS']); }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#410 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Middleware
/
ShareErrorsFromSession.php
* Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended */ public operate deal with($request, Closure $subsequent) { // If the present session has an "errors" variable certain to it, we'll share // its worth with all view cases so the views can simply entry errors // with out having to bind. An empty bag is about when there aren't errors. $this->view->share( 'errors', $request->session()->get('errors') ?: new ViewErrorBag ); // Placing the errors within the view for each view permits the developer to only // assume that some errors are at all times out there, which is handy since // they do not have to repeatedly run checks for the presence of errors. return $subsequent($request); } }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#411 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
* @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended */ public operate deal with($request, Closure $subsequent) { $this->sessionHandled = true; // If a session driver has been configured, we might want to begin the session right here // in order that the information is prepared for an software. Word that the Laravel classes // don't make use of PHP "native" classes in any manner since they're crappy. if ($this->sessionConfigured()) { $request->setLaravelSession( $session = $this->startSession($request) ); $this->collectGarbage($session); } $response = $subsequent($request); // Once more, if the session has been configured we might want to shut out the session // in order that the attributes could also be endured to some storage medium. We may also // add the session identifier cookie to the applying response headers now. if ($this->sessionConfigured()) { $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); } return $response; } /** * Carry out any ultimate actions for the request lifecycle. * * @param IlluminateHttpRequest $request * @param SymfonyComponentHttpFoundationResponse $response * @return void */
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#412 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
AddQueuedCookiesToResponse.php
* Create a brand new CookieQueue occasion. * * @param IlluminateContractsCookieQueueingFactory $cookies * @return void */ public operate __construct(CookieJar $cookies) { $this->cookies = $cookies; } /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended */ public operate deal with($request, Closure $subsequent) { $response = $subsequent($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); } return $response; } }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#413 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
EncryptCookies.php
* Disable encryption for the given cookie title(s). * * @param string|array $title * @return void */ public operate disableFor($title) { $this->besides = array_merge($this->besides, (array) $title); } /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return SymfonyComponentHttpFoundationResponse */ public operate deal with($request, Closure $subsequent) { return $this->encrypt($subsequent($this->decrypt($request))); } /** * Decrypt the cookies on the request. * * @param SymfonyComponentHttpFoundationRequest $request * @return SymfonyComponentHttpFoundationRequest */ protected operate decrypt(Request $request) { foreach ($request->cookies as $key => $cookie) { if ($this->isDisabled($key)) { proceed; } attempt { $request->cookies->set($key, $this->decryptCookie($key, $cookie)); } catch (DecryptException $e) { $request->cookies->set($key, null); }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#414 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
public operate through($technique) { $this->technique = $technique; return $this; } /** * Run the pipeline with a ultimate vacation spot callback. * * @param Closure $vacation spot * @return blended */ public operate then(Closure $vacation spot) { $pipeline = array_reduce( array_reverse($this->pipes), $this->carry(), $this->prepareDestination($vacation spot) ); return $pipeline($this->satisfactory); } /** * Get the ultimate piece of the Closure onion. * * @param Closure $vacation spot * @return Closure */ protected operate prepareDestination(Closure $vacation spot) { return operate ($satisfactory) use ($vacation spot) { return $vacation spot($satisfactory); }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
* * @param IlluminateRoutingRoute $route * @param IlluminateHttpRequest $request * @return blended */ protected operate runRouteWithinStack(Route $route, Request $request) { $shouldSkipMiddleware = $this->container->certain('middleware.disable') && $this->container->make('middleware.disable') === true; $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->ship($request) ->via($middleware) ->then(operate ($request) use ($route) { return $this->prepareResponse( $request, $route->run() ); }); } /** * Collect the middleware for the given route with resolved class names. * * @param IlluminateRoutingRoute $route * @return array */ public operate gatherRouteMiddleware(Route $route) { $middleware = gather($route->gatherMiddleware())->map(operate ($title) { return (array) MiddlewareNameResolver::resolve($title, $this->middleware, $this->middlewareGroups); })->flatten(); return $this->sortMiddleware($middleware); } /** * Kind the given middleware by precedence. *
Arguments
-
Closure($request) {#315 …6}
var
/
www
/
initiatives
/
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 blended */ protected operate runRoute(Request $request, Route $route) { $request->setRouteResolver(operate () use ($route) { return $route; }); $this->events->dispatch(new EventsRouteMatched($route, $request)); return $this->prepareResponse($request, $this->runRouteWithinStack($route, $request) ); } /** * Run the given route inside a Stack "onion" occasion. * * @param IlluminateRoutingRoute $route * @param IlluminateHttpRequest $request * @return blended */ protected operate runRouteWithinStack(Route $route, Request $request) { $shouldSkipMiddleware = $this->container->certain('middleware.disable') && $this->container->make('middleware.disable') === true; $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->ship($request) ->via($middleware)
Arguments
-
Route {#229}
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
* * @param IlluminateHttpRequest $request * @return IlluminateHttpResponse|IlluminateHttpJsonResponse */ public operate dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * * @param IlluminateHttpRequest $request * @return blended */ public operate dispatchToRoute(Request $request) { return $this->runRoute($request, $this->findRoute($request)); } /** * Discover the route matching a given request. * * @param IlluminateHttpRequest $request * @return IlluminateRoutingRoute */ protected operate findRoute($request) { $this->present = $route = $this->routes->match($request); $this->container->occasion(Route::class, $route); return $route; } /** * Return the response for the given route. *
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Route {#229}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
* @return blended */ public operate respondWithRoute($title) { $route = faucet($this->routes->getByName($title))->bind($this->currentRequest); return $this->runRoute($this->currentRequest, $route); } /** * Dispatch the request to the applying. * * @param IlluminateHttpRequest $request * @return IlluminateHttpResponse|IlluminateHttpJsonResponse */ public operate dispatch(Request $request) { $this->currentRequest = $request; return $this->dispatchToRoute($request); } /** * Dispatch the request to a route and return the response. * * @param IlluminateHttpRequest $request * @return blended */ public operate dispatchToRoute(Request $request) { return $this->runRoute($request, $this->findRoute($request)); } /** * Discover the route matching a given request. * * @param IlluminateHttpRequest $request * @return IlluminateRoutingRoute */ protected operate findRoute($request)
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Kernel.php
* @return void */ public operate bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. * * @return Closure */ protected operate dispatchToRouter() { return operate ($request) { $this->app->occasion('request', $request); return $this->router->dispatch($request); }; } /** * Name the terminate technique on any terminable middleware. * * @param IlluminateHttpRequest $request * @param IlluminateHttpResponse $response * @return void */ public operate terminate($request, $response) { $this->terminateMiddleware($request, $response); $this->app->terminate(); } /** * Name the terminate technique on any terminable middleware. *
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
use SymfonyComponentDebugExceptionFatalThrowableError; /** * This prolonged pipeline catches any exceptions that happen throughout every slice. * * The exceptions are transformed to HTTP responses for correct middleware dealing with. */ class Pipeline extends BasePipeline { /** * Get the ultimate piece of the Closure onion. * * @param Closure $vacation spot * @return Closure */ protected operate prepareDestination(Closure $vacation spot) { return operate ($satisfactory) use ($vacation spot) { attempt { return $vacation spot($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry();
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
fideloper
/
proxy
/
src
/
TrustProxies.php
{ $this->config = $config; } /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * * @throws SymfonyComponentHttpKernelExceptionHttpException * * @return blended */ public operate deal with(Request $request, Closure $subsequent) { $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests $this->setTrustedProxyIpAddresses($request); return $subsequent($request); } /** * Units the trusted proxies on the request to the worth of trustedproxy.proxies * * @param IlluminateHttpRequest $request */ protected operate setTrustedProxyIpAddresses(Request $request) { $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies'); // Solely belief particular IP addresses if (is_array($trustedIps)) { return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps); } // Belief any IP deal with that calls us // `**` for backwards compatibility, however is depreciated if ($trustedIps === '*' || $trustedIps === '**') { return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#135 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Middleware
/
TransformsRequest.php
* * @var array */ protected $attributes = []; /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @param array ...$attributes * @return blended */ public operate deal with($request, Closure $subsequent, ...$attributes) { $this->attributes = $attributes; $this->clear($request); return $subsequent($request); } /** * Clear the request's knowledge. * * @param IlluminateHttpRequest $request * @return void */ protected operate clear($request) { $this->cleanParameterBag($request->question); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->question) { $this->cleanParameterBag($request->request); } } /**
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#286 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Middleware
/
TransformsRequest.php
* * @var array */ protected $attributes = []; /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @param array ...$attributes * @return blended */ public operate deal with($request, Closure $subsequent, ...$attributes) { $this->attributes = $attributes; $this->clear($request); return $subsequent($request); } /** * Clear the request's knowledge. * * @param IlluminateHttpRequest $request * @return void */ protected operate clear($request) { $this->cleanParameterBag($request->question); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->question) { $this->cleanParameterBag($request->request); } } /**
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#287 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Middleware
/
ValidatePostSize.php
class ValidatePostSize { /** * Deal with an incoming request. * * @param IlluminateHttpRequest $request * @param Closure $subsequent * @return blended * * @throws IlluminateHttpExceptionsPostTooLargeException */ public operate deal with($request, Closure $subsequent) { $max = $this->getPostMaxSize(); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $subsequent($request); } /** * Decide the server 'post_max_size' as bytes. * * @return int */ protected operate getPostMaxSize() { if (is_numeric($postMaxSize = ini_get('post_max_size'))) { return (int) $postMaxSize; } $metric = strtoupper(substr($postMaxSize, -1)); $postMaxSize = (int) $postMaxSize; swap ($metric) { case 'Okay': return $postMaxSize * 1024; case 'M':
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#288 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Middleware
/
CheckForMaintenanceMode.php
* * @throws SymfonyComponentHttpKernelExceptionHttpException */ public operate deal with($request, Closure $subsequent) { if ($this->app->isDownForMaintenance()) { $knowledge = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true); if (isset($knowledge['allowed']) && IpUtils::checkIp($request->ip(), (array) $knowledge['allowed'])) { return $subsequent($request); } if ($this->inExceptArray($request)) { return $subsequent($request); } throw new MaintenanceModeException($knowledge['time'], $knowledge['retry'], $knowledge['message']); } return $subsequent($request); } /** * Decide if the request has a URI that ought to be accessible in upkeep mode. * * @param IlluminateHttpRequest $request * @return bool */ protected operate inExceptArray($request) { foreach ($this->besides as $besides) { if ($besides !== '/') { $besides = trim($besides, '/'); } if ($request->fullUrlIs($besides) || $request->is($besides)) { return true; } }
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
// the suitable technique and arguments, returning the outcomes again out. return $pipe($satisfactory, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we'll parse the string and resolve the category out // of the dependency injection container. We will then construct a callable and // execute the pipe operate giving within the parameters which are required. $pipe = $this->getContainer()->make($title); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll simply make a callable and move it to // the pipe as-is. There is not any must do any further parsing and formatting // for the reason that object we're given was already a completely instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->technique) ? $pipe->{$this->technique}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->container->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get title and parameters. * * @param string $pipe * @return array */ protected operate parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
-
Closure($satisfactory) {#289 …6}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */ protected operate carry() { return operate ($stack, $pipe) { return operate ($satisfactory) use ($stack, $pipe) { attempt { $slice = father or mother::carry(); $callable = $slice($stack, $pipe); return $callable($satisfactory); } catch (Exception $e) { return $this->handleException($satisfactory, $e); } catch (Throwable $e) { return $this->handleException($satisfactory, new FatalThrowableError($e)); } }; }; } /** * Deal with the given exception. * * @param blended $satisfactory * @param Exception $e * @return blended * * @throws Exception */ protected operate handleException($satisfactory, Exception $e) {
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
public operate through($technique) { $this->technique = $technique; return $this; } /** * Run the pipeline with a ultimate vacation spot callback. * * @param Closure $vacation spot * @return blended */ public operate then(Closure $vacation spot) { $pipeline = array_reduce( array_reverse($this->pipes), $this->carry(), $this->prepareDestination($vacation spot) ); return $pipeline($this->satisfactory); } /** * Get the ultimate piece of the Closure onion. * * @param Closure $vacation spot * @return Closure */ protected operate prepareDestination(Closure $vacation spot) { return operate ($satisfactory) use ($vacation spot) { return $vacation spot($satisfactory); }; } /** * Get a Closure that represents a slice of the applying onion. * * @return Closure */
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Kernel.php
} /** * Ship the given request via the middleware / router. * * @param IlluminateHttpRequest $request * @return IlluminateHttpResponse */ protected operate sendRequestThroughRouter($request) { $this->app->occasion('request', $request); Facade::clearResolvedInstance('request'); $this->bootstrap(); return (new Pipeline($this->app)) ->ship($request) ->via($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); } /** * Bootstrap the applying for HTTP requests. * * @return void */ public operate bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. * * @return Closure */ protected operate dispatchToRouter()
Arguments
-
Closure($request) {#22 …5}
var
/
www
/
initiatives
/
www.latestly.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Basis
/
Http
/
Kernel.php
$router->middlewareGroup($key, $middleware); } foreach ($this->routeMiddleware as $key => $middleware) { $router->aliasMiddleware($key, $middleware); } } /** * Deal with an incoming HTTP request. * * @param IlluminateHttpRequest $request * @return IlluminateHttpResponse */ public operate deal with($request) { attempt { $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; } /** * Ship the given request via the middleware / router. *
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
var
/
www
/
initiatives
/
www.latestly.com
/
public
/
index.php
*/ $app = require_once __DIR__.'/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Utility |-------------------------------------------------------------------------- | | As soon as we have now the applying, we will deal with the incoming request | via the kernel, and ship the related response again to | the consumer's browser permitting them to benefit from the artistic | and great software we have now ready for them. | */ $kernel = $app->make(IlluminateContractsHttpKernel::class); $response = $kernel->deal with( $request = IlluminateHttpRequest::seize() ); $response->ship(); $kernel->terminate($request, $response);
Arguments
-
Request {#42 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#306 …6} #routeResolver: Closure() {#308 …5} +attributes: ParameterBag {#44} +request: ParameterBag {#50} +question: ParameterBag {#50} +server: ServerBag {#46} +information: FileBag {#47} +cookies: ParameterBag {#45} +headers: HeaderBag {#48} #content material: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [ => "*/*" ] #pathInfo: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #requestUri: "/lifestyle/festivals-events/international-cheetah-day-2022-date-know-the-history-and-significance-of-the-day-aiming-to-help-save-the-fastest-land-animal-from-extinction-4534443.html" #baseUrl: "" #basePath: null #technique: "GET" #format: null #session: Retailer {#426} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true : "" : "html" }
[ad_2]
Disclaimer
This website is for data functions solely. We neither give any copyrighted materials nor plump pirating via any composition on this website. nonetheless, the information and particulars we give are fluently out there every over the web.
JOIN TELEGRAM | CLICK HERE |
JOIN OUR TWITTER NEWS | CLICK HERE |
FOLLOW ON TUMBLR | CLICK HERE |
SEND FRIEND REQUEST OUR FB ACCOUNT | CLICK HERE |
OKEEDA HOMEPAGE | CLICK HERE |
Okeeda covers newest information and breaking occasions throughout the globe, offering data on the matters together with sport, leisure, India and world information, way of life, tech, auto and so forth.