/home/runcloud/webapps/atticgaming/vendor/google/cloud-core/src/RequestWrapper.php
break;
case 412:
$exception = Exception\FailedPreconditionException::class;
break;
case 500:
$exception = Exception\ServerException::class;
break;
case 504:
$exception = Exception\DeadlineExceededException::class;
break;
default:
$exception = Exception\ServiceException::class;
break;
}return new $exception($this->getExceptionMessage($ex),$ex->getCode(),$ex);
}/**
* Gets the exception message.
*
* @access private
* @param \Exception $ex
* @return string
*/
private function getExceptionMessage(\Exception $ex){if ($ex instanceof RequestException && $ex->hasResponse()){return (string) $ex->getResponse()->getBody();
}return $ex->getMessage();
}/**
* Gets a set of request options.
Arguments
"""{\n "error": {\n "code": 403,\n "message": "User Rate Limit Exceeded",\n "errors": [\n {\n "message": "User Rate Limit Exceeded",\n "domain": "usageLimits",\n "reason": "userRateLimitExceeded"\n }\n ]\n }\n}\n"""
/home/runcloud/webapps/atticgaming/vendor/google/cloud-core/src/RequestWrapper.php
$backoff = new ExponentialBackoff(
$retryOptions['retries'],
$retryOptions['retryFunction']
);
if ($retryOptions['delayFunction']){$backoff->setDelayFunction($retryOptions['delayFunction']);
}if ($retryOptions['calcDelayFunction']){$backoff->setCalcDelayFunction($retryOptions['calcDelayFunction']);
}try {
return $backoff->execute($this->httpHandler, [
$this->applyHeaders($request),$this->getRequestOptions($options)
]);
}catch (\Exception $ex){throw $this->convertToGoogleException($ex);
}}/**
* Deliver the request asynchronously.
*
* @param RequestInterface $request A PSR-7 request.
* @param array $options [optional] {
* Request options.
*
* @type float $requestTimeout Seconds to wait before timing out the
* request. **Defaults to** `0`.
* @type int $retries Number of retries for a failed request.
* **Defaults to** `3`.
* @type callable $restRetryFunction Sets the conditions for whether or
* not a request should attempt to retry. Function signature should
* match: `function (\Exception $ex) : bool`.
* @type callable $restDelayFunction Executes a delay, defaults to
* utilizing `usleep`. Function signature should match:
* `function (int $delay) : void`.
Arguments
ClientException {#2543 -request: Request {#2554}-response: Response {#2544}-handlerContext: []
#message: """
Client error: `POST https://translation.googleapis.com/language/translate/v2/detect` resulted in a `403 Forbidden` response:\n{\n "error": {\n "code": 403,\n "message": "User Rate Limit Exceeded",\n "errors": [\n {\n "message": "U (truncated...)\n """
#code: 403 #file: "/home/runcloud/webapps/atticgaming/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
#line: 113}
/home/runcloud/webapps/atticgaming/vendor/google/cloud-core/src/RestTrait.php
* Delivers a request built from the service definition.
*
* @param string $resource The resource type used for the request.
* @param string $method The method used for the request.
* @param array $options [optional] Options used to build out the request.
* @param array $whitelisted [optional]
* @return array
*/
public function send($resource, $method, array $options = [], $whitelisted = false){$requestOptions = $this->pluckArray([
'restOptions',
'retries',
'requestTimeout'
], $options);
try {
return json_decode(
$this->requestWrapper->send(
$this->requestBuilder->build($resource, $method, $options),$requestOptions
)->getBody(),true
);
}catch (NotFoundException $e){if ($whitelisted){throw $this->modifyWhitelistedError($e);
}throw $e;
}}/**
* Return a custom API endpoint in the proper format, or default if none provided.
*
* @param string $default
* @param array $config
* @return string
*/
Arguments
/home/runcloud/webapps/atticgaming/vendor/google/cloud-translate/src/Connection/Rest.php
{
$config += [
'serviceDefinitionPath' => __DIR__ . '/ServiceDefinition/translate-v2.json',
'componentVersion' => TranslateClient::VERSION
];
$this->setRequestWrapper(new RequestWrapper($config));
$this->setRequestBuilder(new RequestBuilder(
$config['serviceDefinitionPath'],
$this->getApiEndpoint(self::DEFAULT_API_ENDPOINT, $config)
));
}/**
* @param array $args
* @return array
*/
public function listDetections(array $args = []){return $this->send('detections', 'detect', $args);
}/**
* @param array $args
* @return array
*/
public function listLanguages(array $args = []){return $this->send('languages', 'list', $args);
}/**
* @param array $args
* @return array
*/
public function listTranslations(array $args = []){return $this->send('translations', 'translate', $args);
}}
Arguments
"detections"
"detect"
array:2 [ "q" =>array:1 [0 => "Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."
]
"key" =>null]
/home/runcloud/webapps/atticgaming/vendor/google/cloud-translate/src/TranslateClient.php
* foreach ($results as $result){* echo $result['languageCode'];
* }* ```
*
* @see https://cloud.google.com/translation/v2/detecting-language-with-rest Detecting Langauge
*
* @param string $string The string to detect the language of.
* @param array $options [optional] Configuration Options.
* @return array A set of results. Each result includes a `languageCode` key
* containing the detected ISO 639-1 language code, an `input` key
* containing the original string, and in most cases a `confidence`
* key containing a value between 0 - 1 signifying the confidence of
* the result.
*/
public function detectLanguageBatch(array $strings, array $options = []){$response = $this->connection->listDetections($options + [
'q' => $strings,
'key' => $this->key
]);
$detections = [];
foreach ($response['data']['detections'] as $key => $detection){$detection = $detection[0];
$detections[] = array_filter([
'languageCode' => $detection['language'],
'input' => $strings[$key],
'confidence' => isset($detection['confidence']) ? $detection['confidence'] : null
]);
}return $detections;
}/**
* Get all supported languages.
*
Arguments
array:2 [ "q" =>array:1 [0 => "Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."
]
"key" =>null]
/home/runcloud/webapps/atticgaming/vendor/google/cloud-translate/src/TranslateClient.php
* Example:
* ```
* $result = $translate->detectLanguage('Hello world!');
*
* echo $result['languageCode'];
* ```
*
* @see https://cloud.google.com/translation/v2/detecting-language-with-rest Detecting Langauge
*
* @param string $string The string to detect the language of.
* @param array $options [optional] Configuration Options.
* @return array A result including a `languageCode` key
* containing the detected ISO 639-1 language code, an `input` key
* containing the original string, and in most cases a `confidence`
* key containing a value between 0 - 1 signifying the confidence of
* the result.
*/
public function detectLanguage($string, array $options = []){return $this->detectLanguageBatch([$string], $options)[0];
}/**
* Detect the language of multiple strings.
*
* Example:
* ```
* $results = $translate->detectLanguageBatch([
* 'Hello World!',
* 'My name is David.'
* ]);
*
* foreach ($results as $result){* echo $result['languageCode'];
* }* ```
*
* @see https://cloud.google.com/translation/v2/detecting-language-with-rest Detecting Langauge
*
* @param string $string The string to detect the language of.
Arguments
array:1 [0 => "Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."]
[]
/home/runcloud/webapps/atticgaming/vendor/joggapp/laravel-google-translate/src/GoogleTranslateClient.php
class GoogleTranslateClient
{
use SupportedLanguages;
private $translate;
public function __construct(array $config){$this->checkForInvalidConfiguration($config);
$this->translate = new TranslateClient([
'keyFilePath' => $config['key_file_path']
]);
}public function detectLanguage(string $text){return $this->translate
->detectLanguage($text);
}public function detectLanguageBatch(array $input){return $this->translate
->detectLanguageBatch($input);
}public function translate(string $text, string $translateTo){return $this->translate
->translate($text, ['target' => $translateTo, 'format' => 'text']);
}public function translateBatch(array $input, string $translateTo){return $this->translate
->translateBatch($input, ['target' => $translateTo, 'format' => 'text']);
}
Arguments
"Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."
/home/runcloud/webapps/atticgaming/vendor/joggapp/laravel-google-translate/src/GoogleTranslate.php
use SupportedLanguages;
private $translateClient;
private $givenLanguageCode;
public function __construct(GoogleTranslateClient $client){$this->translateClient = $client;
}public function detectLanguage($input): array
{
if (is_array($input)){return $this->detectLanguageBatch($input);
}$response = $this
->translateClient
->detectLanguage($input);
return [
'text' => $input,
'language_code' => $response['languageCode'],
'confidence' => $response['confidence']
];
}public function detectLanguageBatch(array $input): array
{
$responses = $this
->translateClient
->detectLanguageBatch($input);
foreach ($responses as $response){$translations[] = [
'text' => $response['input'],
'language_code' => $response['languageCode'],
'confidence' => $response['confidence']
];
Arguments
"Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
}/**
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
* @return mixed
*
* @throws \RuntimeException
*/
public static function __callStatic($method, $args){$instance = static::getFacadeRoot();
if (! $instance){throw new RuntimeException('A facade root has not been set.');
}return $instance->$method(...$args);
}}
Arguments
"Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."
/home/runcloud/webapps/atticgaming/app/Http/Controllers/GameController.php
* @param string $slug
* @return Response
*/
public function show($slug){$game_id = ltrim(strrchr($slug,'-'),'-');
$game = Game::with('listings')->find($game_id);
if (is_null($game)){return abort('404');
}//Get Amazon Items (when limit will be removed)
// $response = AmazonProduct::search('All', $game->name , 1);
if( $game->translated == 0 && !is_null($game->description) && GoogleTranslate::detectLanguage($game->description)['language_code'] != 'fr'){$translationDesc = GoogleTranslate::translate($game->description);
if(!is_null($game->metacritic) && !is_null($game->metacritic->summary)){$translationMeta = GoogleTranslate::translate($game->metacritic->summary);
$game->description = $translationDesc['translated_text'] . ' '. $translationMeta['translated_text'];
}else{
$game->description = $translationDesc['translated_text'];
}$game->translated = 1;
$game->save();
}$slug_check = str_slug($game->name) . '-' . $game->platform->acronym . '-' . $game->id;
if ($slug_check != $slug){return Redirect::to(url('games/' . $slug_check));
Arguments
"detectLanguage"
array:1 [0 => "Rage d'id Software combine tir à la première personne, action de véhicules et exploration "ouverte mais dirigée" pour raconter l'histoire de la civilisation misérable de la Terre après une frappe de météores cataclysmique. Des figures d'autorité militaristes, des rebelles luttant pour la liberté, des attaquants criminels et des mutants tordus se font la guerre pour le contrôle de la terre désolée que la Terre est devenue."]
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
/**
* Dispatch a request to a given controller and method.
*
* @param \Illuminate\Routing\Route $route
* @param mixed $controller
* @param string $method
* @return mixed
*/
public function dispatch(Route $route, $controller, $method){$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(),$controller, $method
);
if (method_exists($controller, 'callAction')){return $controller->callAction($method, $parameters);
}return $controller->{$method}(...array_values($parameters));
}/**
* Get the middleware for the controller instance.
*
* @param \Illuminate\Routing\Controller $controller
* @param string $method
* @return array
*/
public function getMiddleware($controller, $method){if (! method_exists($controller, 'getMiddleware')){return [];
}return collect($controller->getMiddleware())->reject(function ($data) use ($method){return static::methodExcludedByOptions($method, $data['options']);
})->pluck('middleware')->all();
}
Arguments
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Route.php
protected function runCallable(){$callable = $this->action['uses'];
return $callable(...array_values($this->resolveMethodDependencies(
$this->parametersWithoutNulls(),new ReflectionFunction($this->action['uses'])
)));
}/**
* Run the route action and return the response.
*
* @return mixed
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
protected function runController(){return $this->controllerDispatcher()->dispatch(
$this, $this->getController(),$this->getControllerMethod()
);
}/**
* Get the controller instance for the route.
*
* @return mixed
*/
public function getController(){if (! $this->controller){$class = $this->parseControllerCallback()[0];
$this->controller = $this->container->make(ltrim($class, '\\'));
}return $this->controller;
}/**
Arguments
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*
* @throws \UnexpectedValueException
*/
protected function parseAction($action){return RouteAction::parse($this->uri, $action);
}/**
* Run the route action and return the response.
*
* @return mixed
*/
public function run(){$this->container = $this->container ?: new Container;
try {
if ($this->isControllerAction()){return $this->runController();
}return $this->runCallable();
}catch (HttpResponseException $e){return $e->getResponse();
}}/**
* Checks whether the route's action is a controller.
*
* @return bool
*/
protected function isControllerAction(){return is_string($this->action['uses']);
}/**
* Run the route action and return the response.
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Router.php
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request){$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route){return $this->prepareResponse(
$request, $route->run()
);
});
}/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route){$middleware = collect($route->gatherMiddleware())->map(function ($name){return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}/**
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination){return function ($passable) use ($destination){try {
return $destination($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/app/Http/Middleware/SettingsMiddleware.php
class SettingsMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){if (config('settings.cookie_consent')){Config::set('cookie-consent.enabled', true);
}// \Debugbar::enable();
return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#635 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/app/Http/Middleware/ThemeMiddleware.php
public function handle($request, Closure $next){if (session()->has('theme') && config('settings.theme_selector')){Theme::set(session()->get('theme'));
}else {
if (config('settings.default_theme')){Theme::set(config('settings.default_theme'));
}else {
Theme::set('default');
}}Theme::setLayout('frontend.layouts.app');
return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#634 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/app/Http/Middleware/LocaleMiddleware.php
/**
* Set the Laravel locale
*/
app()->setLocale(session()->get('locale'));
/**
* setLocale to use Carbon source locales. Enables diffForHumans() localized
*/
Carbon::setLocale(session()->get('locale'));
}else {
/**
* Set the Laravel locale
*/
app()->setLocale(config('settings.default_locale'));
/**
* setLocale to use Carbon source locales. Enables diffForHumans() localized
*/
Carbon::setLocale(config('settings.default_locale'));
}return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#633 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/app/Http/Middleware/LogLastUserActivity.php
class LogLastUserActivity
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){if (Auth::check()){$expiresAt = Carbon::now()->addMinutes(5);
Cache::put('user-is-online-' . Auth::user()->id, true, $expiresAt);
if (Auth::user()->last_activity_at < Carbon::now()){Auth::user()->lastActivity($expiresAt);
}}return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#632 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
*/
public function __construct(Registrar $router){$this->router = $router;
}/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#631 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
}/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next){if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
){return tap($next($request),function ($response) use ($request){if ($this->shouldAddXsrfTokenCookie()){$this->addCookieToResponse($request, $response);
}});
}throw new TokenMismatchException('CSRF token mismatch.');
}/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function isReading($request){return in_array($request->method(),['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#630 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){// If the current session has an "errors" variable bound to it, we will share
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#629 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){if (! $this->sessionConfigured()){return $next($request);
}// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
$this->saveSession($request);
return $response;
}/**
* Start the session for the given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Contracts\Session\Session
*/
protected function startSession(Request $request)
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#628 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies){$this->cookies = $cookies;
}/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next){$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie){$response->headers->setCookie($cookie);
}return $response;
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#627 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $name
* @return void
*/
public function disableFor($name){$this->except = array_merge($this->except, (array) $name);
}/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next){return $this->encrypt($next($this->decrypt($request)));
}/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request){foreach ($request->cookies as $key => $cookie){if ($this->isDisabled($key)){continue;
}try {
$request->cookies->set($key, $this->decryptCookie($key, $cookie));
}catch (DecryptException $e){$request->cookies->set($key, null);
}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#626 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method){$this->method = $method;
return $this;
}/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination){$pipeline = array_reduce(
array_reverse($this->pipes),$this->carry(),$this->prepareDestination($destination)
);
return $pipeline($this->passable);
}/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn(){return $this->then(function ($passable){return $passable;
});
}/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request){$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route){return $this->prepareResponse(
$request, $route->run()
);
});
}/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route){$middleware = collect($route->gatherMiddleware())->map(function ($name){return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}/**
* Sort the given middleware by priority.
*
Arguments
Closure($request) {#670 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return $route;
}/**
* Return the response for the given route.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Routing\Route $route
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
protected function runRoute(Request $request, Route $route){$request->setRouteResolver(function () use ($route){return $route;
});
$this->events->dispatch(new Events\RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request){$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Route {#294}
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request){$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatchToRoute(Request $request){return $this->runRoute($request, $this->findRoute($request));
}/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request){$this->current = $route = $this->routes->match($request);
$this->container->instance(Route::class, $route);
return $route;
}/**
* Return the response for the given route.
*
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Route {#294}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function respondWithRoute($name){$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatch(Request $request){$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
*/
public function dispatchToRoute(Request $request){return $this->runRoute($request, $this->findRoute($request));
}/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return void
*/
public function bootstrap(){if (! $this->app->hasBeenBootstrapped()){$this->app->bootstrapWith($this->bootstrappers());
}}/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter(){return function ($request){$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response){$this->terminateMiddleware($request, $response);
$this->app->terminate();
}/**
* Call the terminate method on any terminable middleware.
*
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination){return function ($passable) use ($destination){try {
return $destination($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php
* @param LaravelDebugbar $debugbar
*/
public function __construct(Container $container, LaravelDebugbar $debugbar){$this->container = $container;
$this->debugbar = $debugbar;
$this->except = config('debugbar.except') ?: [];
}/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return mixed
*/
public function handle($request, Closure $next){if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)){return $next($request);
}$this->debugbar->boot();
try {
/** @var \Illuminate\Http\Response $response */
$response = $next($request);
}catch (Exception $e){$response = $this->handleException($request, $e);
}catch (Error $error){$e = new FatalThrowableError($error);
$response = $this->handleException($request, $e);
}$this->debugbar->modifyResponse($request, $response);
return $response;
}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#699 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/spatie/laravel-cookie-consent/src/CookieConsentMiddleware.php
<?php
namespace Spatie\CookieConsent;
use Closure;
use Illuminate\Http\Response;
class CookieConsentMiddleware
{
public function handle($request, Closure $next){$response = $next($request);
if (! config('cookie-consent.enabled')){return $response;
}if (! $response instanceof Response){return $response;
}if (! $this->containsBodyTag($response)){return $response;
}return $this->addCookieConsentScriptToResponse($response);
}protected function containsBodyTag(Response $response): bool
{
return $this->getLastClosingBodyTagPosition($response->getContent()) !== false;
}/**
* @param \Illuminate\Http\Response $response
*
* @return $this
*/
protected function addCookieConsentScriptToResponse(Response $response)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#698 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*/
public function handle($request, Closure $next){if ($this->app->isDownForMaintenance()){$data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'),true);
if (isset($data['allowed']) && IpUtils::checkIp($request->ip(),(array) $data['allowed'])){return $next($request);
}if ($this->inExceptArray($request)){return $next($request);
}throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}return $next($request);
}/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function inExceptArray($request){foreach ($this->except as $except){if ($except !== '/'){$except = trim($except, '/');
}if ($request->fullUrlIs($except) || $request->is($except)){return true;
}}
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#697 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/app/Http/Middleware/MinifyHtml.php
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Response;
use Config;
class MinifyHtml
{
public function handle($request, Closure $next){$response = $next($request);
if ($this->isResponseObject($response) && $this->isHtmlResponse($response) && config('settings.minify_html')){$replace = [
'/\>[^\S ]+/s' => '>',
'/[^\S ]+\</s' => '<',
'/([\t ])+/s' => ' ',
'/^([\t ])+/m' => '',
'/([\t ])+$/m' => '',
'~//[a-zA-Z0-9 ]+$~m' => '',
'/[\r\n]+([\t ]?[\r\n]+)+/s' => "\n",
'/\>[\r\n\t ]+\</s' => '><',
'/}[\r\n\t ]+/s' => '}',
'/}[\r\n\t ]+,[\r\n\t ]+/s' => '},',
'/\)[\r\n\t ]?{[\r\n\t ]+/s' => '){',
'/,[\r\n\t ]?{[\r\n\t ]+/s' => ',{',
'/\),[\r\n\t ]+/s' => '),',
'~([\r\n\t ])?([a-zA-Z0-9]+)=\"([a-zA-Z0-9_\\-]+)\"([\r\n\t ])?~s' => '$1$2=$3$4',
];
$response->setContent(preg_replace(array_keys($replace),array_values($replace),$response->getContent()));
}if ($request->ajax()){$response->header('Content-Length',strlen($response->getContent()));
}return $response;
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
}elseif (! is_object($pipe)){[$name, $parameters] = $this->parsePipeString($pipe);
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
}else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}$response = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $response instanceof Responsable
? $response->toResponse($this->getContainer()->make(Request::class))
: $response;
};
};
}/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe){[$name, $parameters] = array_pad(explode(':', $pipe, 2),2, []);
if (is_string($parameters)) {
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
Closure($passable) {#696 …5}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}};
}/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry(){return function ($stack, $pipe){return function ($passable) use ($stack, $pipe){try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
}catch (Exception $e){return $this->handleException($passable, $e);
}catch (Throwable $e){return $this->handleException($passable, new FatalThrowableError($e));
}};
};
}/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method){$this->method = $method;
return $this;
}/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination){$pipeline = array_reduce(
array_reverse($this->pipes),$this->carry(),$this->prepareDestination($destination)
);
return $pipeline($this->passable);
}/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn(){return $this->then(function ($passable){return $passable;
});
}/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
}/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request){$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap(){if (! $this->app->hasBeenBootstrapped()){$this->app->bootstrapWith($this->bootstrappers());
}}/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure($request) {#22 …4}
/home/runcloud/webapps/atticgaming/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
$router->middlewareGroup($key, $middleware);
}foreach ($this->routeMiddleware as $key => $middleware){$router->aliasMiddleware($key, $middleware);
}}/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request){try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
}catch (Exception $e){$this->reportException($e);
$response = $this->renderException($request, $e);
}catch (Throwable $e){$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}$this->app['events']->dispatch(
new Events\RequestHandled($request, $response)
);
return $response;
}/**
* Send the given request through the middleware / router.
*
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}
/home/runcloud/webapps/atticgaming/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Request {#43 #json: null #convertedFiles: null #userResolver: Closure($guard = null) {#681 …5}#routeResolver: Closure() {#684 …5}+attributes: ParameterBag {#45}+request: ParameterBag {#51}+query: ParameterBag {#51}+server: ServerBag {#47}+files: FileBag {#48}+cookies: ParameterBag {#46}+headers: HeaderBag {#49}#content: null #languages: null #charsets: null #encodings: null #acceptableContentTypes: array:1 [0 => "*/*"
]
#pathInfo: "/games/rage-ps3-59"
#requestUri: "/games/rage-ps3-59"
#baseUrl: ""
#basePath: null #method: "GET"
#format: null #session: Store {#716}#locale: null #defaultLocale: "en"
-isHostValid: true -isForwardedValid: truebasePath: ""
format: "html"}