/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function runQueryCallback($query, $bindings, Closure $callback)
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
}
/**
* Log a query in the connection's query log.
*
* @param string $query
* @param array $bindings
* @param float|null $time
* @return void
*/
public function logQuery($query, $bindings, $time = null)
{
$this->event(new QueryExecuted($query, $bindings, $time, $this));
if ($this->loggingQueries) {
Arguments
"SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "aux_ficha_avulsa" does not exist (SQL: alter table "aux_ficha_avulsa" add column "modulo" varchar(255) not null default 'inscricao', add column "complemento" smallint not null default '0', add column "complemento_label" varchar(255) null)"
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* Execute an SQL statement and return the boolean result.
*
* @param string $query
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
$this->bindValues($statement, $this->prepareBindings($bindings));
$this->recordsHaveBeenModified();
return $statement->execute();
});
}
/**
* Run an SQL statement and get the number of rows affected.
*
* @param string $query
* @param array $bindings
* @return int
*/
public function affectingStatement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return 0;
}
// For update or delete statements, we want to get the number of rows affected
// by the statement and return that back to the developer. We'll first need
// to execute the statement and then we'll use PDO to fetch the affected.
Arguments
"SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "aux_ficha_avulsa" does not exist"
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* Execute an SQL statement and return the boolean result.
*
* @param string $query
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
$this->bindValues($statement, $this->prepareBindings($bindings));
$this->recordsHaveBeenModified();
return $statement->execute();
});
}
/**
* Run an SQL statement and get the number of rows affected.
*
* @param string $query
* @param array $bindings
* @return int
*/
public function affectingStatement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return 0;
}
// For update or delete statements, we want to get the number of rows affected
// by the statement and return that back to the developer. We'll first need
// to execute the statement and then we'll use PDO to fetch the affected.
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
return $result;
}
/**
* Run a SQL statement.
*
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function runQueryCallback($query, $bindings, Closure $callback)
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
}
/**
* Log a query in the connection's query log.
*
* @param string $query
* @param array $bindings
* @param float|null $time
Arguments
"alter table "aux_ficha_avulsa" add column "modulo" varchar(255) not null default 'inscricao', add column "complemento" smallint not null default '0', add column "complemento_label" varchar(255) null"
[]
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* Run a SQL statement and log its execution context.
*
* @param string $query
* @param array $bindings
* @param \Closure $callback
* @return mixed
*
* @throws \Illuminate\Database\QueryException
*/
protected function run($query, $bindings, Closure $callback)
{
$this->reconnectIfMissingConnection();
$start = microtime(true);
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
// Once we have run the query we will calculate the time that it took to run and
// then log the query, bindings, and execution time so we will report them on
// the event that the developer needs them. We'll log time in milliseconds.
$this->logQuery(
$query, $bindings, $this->getElapsedTime($start)
);
return $result;
}
/**
* Run a SQL statement.
*
* @param string $query
Arguments
"alter table "aux_ficha_avulsa" add column "modulo" varchar(255) not null default 'inscricao', add column "complemento" smallint not null default '0', add column "complemento_label" varchar(255) null"
[]
Closure {#2835
class: "Illuminate\Database\Connection"
this: PostgresConnection {#1489 …}
parameters: {
$query: {}
$bindings: {}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
*
* @param string $query
* @param array $bindings
* @return bool
*/
public function statement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return true;
}
$statement = $this->getPdo()->prepare($query);
$this->bindValues($statement, $this->prepareBindings($bindings));
$this->recordsHaveBeenModified();
return $statement->execute();
});
}
/**
* Run an SQL statement and get the number of rows affected.
*
* @param string $query
* @param array $bindings
* @return int
*/
public function affectingStatement($query, $bindings = [])
{
return $this->run($query, $bindings, function ($query, $bindings) {
if ($this->pretending()) {
return 0;
}
// For update or delete statements, we want to get the number of rows affected
// by the statement and return that back to the developer. We'll first need
// to execute the statement and then we'll use PDO to fetch the affected.
$statement = $this->getPdo()->prepare($query);
Arguments
"alter table "aux_ficha_avulsa" add column "modulo" varchar(255) not null default 'inscricao', add column "complemento" smallint not null default '0', add column "complemento_label" varchar(255) null"
[]
Closure {#2835
class: "Illuminate\Database\Connection"
this: PostgresConnection {#1489 …}
parameters: {
$query: {}
$bindings: {}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php
public function __construct($table, Closure $callback = null)
{
$this->table = $table;
if (! is_null($callback)) {
$callback($this);
}
}
/**
* Execute the blueprint against the database.
*
* @param \Illuminate\Database\Connection $connection
* @param \Illuminate\Database\Schema\Grammars\Grammar $grammar
* @return void
*/
public function build(Connection $connection, Grammar $grammar)
{
foreach ($this->toSql($connection, $grammar) as $statement) {
$connection->statement($statement);
}
}
/**
* Get the raw SQL statements for the blueprint.
*
* @param \Illuminate\Database\Connection $connection
* @param \Illuminate\Database\Schema\Grammars\Grammar $grammar
* @return array
*/
public function toSql(Connection $connection, Grammar $grammar)
{
$this->addImpliedCommands();
$statements = [];
// Each type of command has a corresponding compiler function on the schema
// grammar which is used to build the necessary SQL statements to build
// the blueprint element, so we'll just call that compilers function.
foreach ($this->commands as $command) {
Arguments
"alter table "aux_ficha_avulsa" add column "modulo" varchar(255) not null default 'inscricao', add column "complemento" smallint not null default '0', add column "complemento_label" varchar(255) null"
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php
* Disable foreign key constraints.
*
* @return bool
*/
public function disableForeignKeyConstraints()
{
return $this->connection->statement(
$this->grammar->compileDisableForeignKeyConstraints()
);
}
/**
* Execute the blueprint to build / modify the table.
*
* @param \Illuminate\Database\Schema\Blueprint $blueprint
* @return void
*/
protected function build(Blueprint $blueprint)
{
$blueprint->build($this->connection, $this->grammar);
}
/**
* Create a new command set with a Closure.
*
* @param string $table
* @param \Closure|null $callback
* @return \Illuminate\Database\Schema\Blueprint
*/
protected function createBlueprint($table, Closure $callback = null)
{
if (isset($this->resolver)) {
return call_user_func($this->resolver, $table, $callback);
}
return new Blueprint($table, $callback);
}
/**
* Get the database connection instance.
Arguments
PostgresConnection {#1489}
PostgresGrammar {#2819}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php
*/
public function getColumnListing($table)
{
$results = $this->connection->select($this->grammar->compileColumnListing(
$this->connection->getTablePrefix().$table
));
return $this->connection->getPostProcessor()->processColumnListing($results);
}
/**
* Modify a table on the schema.
*
* @param string $table
* @param \Closure $callback
* @return void
*/
public function table($table, Closure $callback)
{
$this->build($this->createBlueprint($table, $callback));
}
/**
* Create a new table on the schema.
*
* @param string $table
* @param \Closure $callback
* @return void
*/
public function create($table, Closure $callback)
{
$this->build(tap($this->createBlueprint($table), function ($blueprint) use ($callback) {
$blueprint->create();
$callback($blueprint);
}));
}
/**
* Drop a table from the schema.
Arguments
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/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
"aux_ficha_avulsa"
Closure {#2822
parameters: {
$table: {
typeHint: "Illuminate\Database\Schema\Blueprint"
}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/app/Helpers/Migrations.php
{
if (!Schema::hasColumn('aux_ficha_avulsa_respostas', 'trabalho_id')) {
Schema::table('aux_ficha_avulsa_respostas', function (Blueprint $table) {
$table->integer('trabalho_id')->nullable();
});
}
migrationUpdate($version);
}
/***
* Migration para criar os campos modulo e complemento na tabela aux_ficha_avulsa
*/
function checkMigration21($version)
{
if (!Schema::hasColumn('aux_ficha_avulsa', 'modulo')) {
Schema::table('aux_ficha_avulsa', function (Blueprint $table) {
$table->string('modulo')->default('inscricao');
$table->smallInteger('complemento')->default(0);
$table->string('complemento_label')->nullable();
});
}
if (!Schema::hasColumn('aux_ficha_avulsa_respostas', 'complemento')) {
Schema::table('aux_ficha_avulsa_respostas', function (Blueprint $table) {
$table->text('complemento')->nullable();
});
}
migrationUpdate($version);
}
/***
* Migration para criar o campo certificado em pro_tipo
*/
function checkMigration2($version)
{
if (!Schema::hasColumn('fin_instituicao', 'g_trans')) {
Schema::table('fin_instituicao', function (Blueprint $table) {
$table->string('g_trans')->nullable();
$table->string('endereco_logradouro')->nullable();
$table->string('endereco_numero')->nullable();
$table->string('endereco_complemento')->nullable();
Arguments
"table"
array:2 [
0 => "aux_ficha_avulsa"
1 => Closure {#2822
parameters: {
$table: {
typeHint: "Illuminate\Database\Schema\Blueprint"
}
}
}
]
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/app/Http/Middleware/Migrations.php
$table->timestamps();
});
$sql = sprintf("INSERT INTO migrations (version, created_at) values ('%s', now())", "1.0");
DB::select($sql);
}
$this->checkVersions();
}
private function checkVersions()
{
// Retornando versão atual
$this->version = DB::select('SELECT version FROM migrations ORDER BY id DESC')[0]->version;
$migrationFunction = 'checkMigration' . str_replace('.', '', ($this->version));
// Define próxima versão
$this->version = floatval($this->version) + 0.1;
// Executa funcão referente a versão atual
if (function_exists($migrationFunction)) {
$migrationFunction($this->version);
}
}
// Versão 1.0
private function version10()
{
if (!Schema::hasTable('options')) {
Schema::create('options', function (Blueprint $table) {
$table->increments('id');
$table->string('name', 255);
$table->string('key', 30);
$table->text('value');
$table->string('module', 30);
$table->timestamps();
});
}
// Versão da aplicação
$sql = sprintf(
"INSERT INTO options (name, key, value, module, created_at)
values ('%s', '%s', '%s', '%s', now())",
Arguments
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/app/Http/Middleware/Migrations.php
public function handle($request, Closure $next)
{
$this->migrationsCreate();
return $next($request);
}
private function migrationsCreate()
{
// Criando a tabela de controle das migrations
if (!Schema::hasTable('migrations')) {
Schema::create('migrations', function (Blueprint $table) {
$table->increments('id');
$table->string('version', 5);
$table->timestamps();
});
$sql = sprintf("INSERT INTO migrations (version, created_at) values ('%s', now())", "1.0");
DB::select($sql);
}
$this->checkVersions();
}
private function checkVersions()
{
// Retornando versão atual
$this->version = DB::select('SELECT version FROM migrations ORDER BY id DESC')[0]->version;
$migrationFunction = 'checkMigration' . str_replace('.', '', ($this->version));
// Define próxima versão
$this->version = floatval($this->version) + 0.1;
// Executa funcão referente a versão atual
if (function_exists($migrationFunction)) {
$migrationFunction($this->version);
}
}
// Versão 1.0
private function version10()
{
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/app/Http/Middleware/Migrations.php
use Closure;
use Illuminate\Database\Schema\Blueprint;
use Schema;
use DB;
class Migrations
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
protected $version;
public function handle($request, Closure $next)
{
$this->migrationsCreate();
return $next($request);
}
private function migrationsCreate()
{
// Criando a tabela de controle das migrations
if (!Schema::hasTable('migrations')) {
Schema::create('migrations', function (Blueprint $table) {
$table->increments('id');
$table->string('version', 5);
$table->timestamps();
});
$sql = sprintf("INSERT INTO migrations (version, created_at) values ('%s', now())", "1.0");
DB::select($sql);
}
$this->checkVersions();
}
private function checkVersions()
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2778
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2655 …}
$pipe: "App\Modules\Auth\Http\Middleware\NaoAutenticado"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/app/Http/Middleware/ForceSSL.php
use Closure;
class ForceSSL
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
/*
if (!$request->secure() && in_array(env('APP_ENV'), ['stage', 'production'])) {
return redirect()->secure($request->getRequestUri());
}
*/
return $next($request);
}
}
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2816
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2778 …}
$pipe: "App\Http\Middleware\Migrations"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
*/
public function __construct(Registrar $router)
{
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}
}
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2782
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2816 …}
$pipe: "App\Http\Middleware\ForceSSL"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/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 $this->addCookieToResponse($request, $next($request));
}
throw new TokenMismatchException;
}
/**
* 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']);
}
/**
* Determine if the application is running unit tests.
*
* @return bool
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2781
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2782 …}
$pipe: "Illuminate\Routing\Middleware\SubstituteBindings"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// If the current session has an "errors" variable bound to it, we will share
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2783
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2781 …}
$pipe: "App\Http\Middleware\VerifyCsrfToken"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->sessionHandled = true;
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
if ($this->sessionConfigured()) {
$request->setLaravelSession(
$session = $this->startSession($request)
);
$this->collectGarbage($session);
}
$response = $next($request);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
if ($this->sessionConfigured()) {
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
}
return $response;
}
/**
* Perform any final actions for the request lifecycle.
*
* @param \Illuminate\Http\Request $request
* @param \Symfony\Component\HttpFoundation\Response $response
* @return void
*/
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2817
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2783 …}
$pipe: "Illuminate\View\Middleware\ShareErrorsFromSession"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2814
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2817 …}
$pipe: "Illuminate\Session\Middleware\StartSession"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $cookieName
* @return void
*/
public function disableFor($cookieName)
{
$this->except = array_merge($this->except, (array) $cookieName);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
if ($this->isDisabled($key)) {
continue;
}
try {
$decryptedValue = $this->decryptCookie($key, $cookie);
$value = CookieValuePrefix::getVerifiedValue($key, $decryptedValue, $this->encrypter->getKey());
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2813
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#2578 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2814 …}
$pipe: "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten();
return $this->sortMiddleware($middleware);
}
/**
* Sort the given middleware by priority.
*
Arguments
Closure {#2815
class: "Illuminate\Routing\Router"
this: Router {#30 …}
parameters: {
$request: {}
}
use: {
$route: Route {#475 …}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param Route $route
* @param Request $request
* @return mixed
*/
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 {#475}
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/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 mixed
*/
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 {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Route {#475}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return mixed
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \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 mixed
*/
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 {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
{
$this->terminateMiddleware($request, $response);
$this->app->terminate();
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
/**
* This extended pipeline catches any exceptions that occur during each slice.
*
* The exceptions are converted to HTTP responses for proper middleware handling.
*/
class Pipeline extends BasePipeline
{
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php
}
/**
* 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);
}
// Modify the response to add the Debugbar
$this->debugbar->modifyResponse($request, $response);
return $response;
}
/**
* Handle the given exception.
*
* (Copy from Illuminate\Routing\Pipeline by Taylor Otwell)
*
* @param $passable
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#36
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$destination: Closure {#2459 …}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
* The additional attributes passed to the middleware.
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} else {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#27
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#36 …}
$pipe: "Barryvdh\Debugbar\Middleware\InjectDebugbar"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/fideloper/proxy/src/TrustProxies.php
{
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->setTrustedProxyHeaderNames($request);
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
* @param \Illuminate\Http\Request $request
*/
protected function setTrustedProxyIpAddresses($request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// We only trust specific IP addresses
if (is_array($trustedIps)) {
return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
}
// We trust any IP address that calls us, but not proxies further
// up the forwarding chain.
// TODO: Determine if this should only trust the first IP address
// Currently it trusts the entire chain (array of IPs),
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2462
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#27 …}
$pipe: "Illuminate\Foundation\Http\Middleware\TrimStrings"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
* The additional attributes passed to the middleware.
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} else {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2461
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2462 …}
$pipe: "App\Http\Middleware\TrustProxies"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
* The additional attributes passed to the middleware.
*
* @var array
*/
protected $attributes = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next, ...$attributes)
{
$this->attributes = $attributes;
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} else {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2460
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2461 …}
$pipe: "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Http\Exceptions\PostTooLargeException
*/
public function handle($request, Closure $next)
{
$max = $this->getPostMaxSize();
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
}
$metric = strtoupper(substr($postMaxSize, -1));
$postMaxSize = (int) $postMaxSize;
switch ($metric) {
case 'K':
return $postMaxSize * 1024;
case 'M':
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2471
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2460 …}
$pipe: "App\Http\Middleware\TrimStrings"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*/
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance()) {
$data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
}
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
list($name, $parameters) = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
return method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
if (is_string($parameters)) {
$parameters = explode(',', $parameters);
}
return [$name, $parameters];
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Closure {#2472
class: "Illuminate\Routing\Pipeline"
this: Pipeline {#38 …}
parameters: {
$passable: {}
}
use: {
$stack: Closure {#2471 …}
$pipe: "Illuminate\Foundation\Http\Middleware\ValidatePostSize"
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
return $this->handleException($passable, new FatalThrowableError($e));
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
$slice = parent::carry();
$callable = $slice($stack, $pipe);
return $callable($passable);
} catch (Exception $e) {
return $this->handleException($passable, $e);
} catch (Throwable $e) {
return $this->handleException($passable, new FatalThrowableError($e));
}
};
};
}
/**
* Handle the given exception.
*
* @param mixed $passable
* @param \Exception $e
* @return mixed
*
* @throws \Exception
*/
protected function handleException($passable, Exception $e)
{
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
return $destination($passable);
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure {#2459
class: "Illuminate\Foundation\Http\Kernel"
this: Kernel {#34 …}
parameters: {
$request: {}
}
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
$router->middlewareGroup($key, $middleware);
}
foreach ($this->routeMiddleware as $key => $middleware) {
$router->aliasMiddleware($key, $middleware);
}
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new Events\RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
/home/321736.cloudwaysapps.com/cakeymtgkh/public_html/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Request {#47
#json: null
#convertedFiles: null
#userResolver: Closure {#2577
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider {#46 …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: DomainApplication {#6 …}
}
}
#routeResolver: Closure {#2566
class: "Illuminate\Routing\Router"
this: Router {#30 …}
use: {
$route: Route {#475 …}
}
}
+attributes: ParameterBag {#49}
+request: ParameterBag {#55}
+query: ParameterBag {#55}
+server: ServerBag {#51}
+files: FileBag {#52}
+cookies: ParameterBag {#50}
+headers: HeaderBag {#53}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/usuario"
#requestUri: "/usuario"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Store {#1616}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}