/home
/p4000572
/public_html
/laravel
/vendor
/doctrine
/dbal
/lib
/Doctrine
/DBAL
/Driver
/PDOConnection.php
* @since 2.0
*/
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
/**
* @param string $dsn
* @param string|null $user
* @param string|null $password
* @param array|null $options
*
* @throws PDOException in case of an error.
*/
public function __construct($dsn, $user = null, $password = null, array $options = null)
{
try {
parent::__construct($dsn, $user, $password, $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, ['Doctrine\DBAL\Driver\PDOStatement', []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
* {@inheritdoc}
*/
public function exec($statement)
{
try {
return parent::exec($statement);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
* {@inheritdoc}
*/
public function getServerVersion()
{
Arguments
"SQLSTATE[HY000] [2006] MySQL server has gone away"
Arguments
RecaptchaV3ServiceProvider {#103}
19
Arguments
RecaptchaV3ServiceProvider {#103}
19
/home
/p4000572
/public_html
/laravel
/vendor
/doctrine
/dbal
/lib
/Doctrine
/DBAL
/Driver
/PDOConnection.php
/**
* PDO implementation of the Connection interface.
* Used by all PDO-based drivers.
*
* @since 2.0
*/
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
/**
* @param string $dsn
* @param string|null $user
* @param string|null $password
* @param array|null $options
*
* @throws PDOException in case of an error.
*/
public function __construct($dsn, $user = null, $password = null, array $options = null)
{
try {
parent::__construct($dsn, $user, $password, $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, ['Doctrine\DBAL\Driver\PDOStatement', []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
* {@inheritdoc}
*/
public function exec($statement)
{
try {
return parent::exec($statement);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
Arguments
"PDO::__construct(): MySQL server has gone away"
/home
/p4000572
/public_html
/laravel
/vendor
/doctrine
/dbal
/lib
/Doctrine
/DBAL
/Driver
/PDOConnection.php
/**
* PDO implementation of the Connection interface.
* Used by all PDO-based drivers.
*
* @since 2.0
*/
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
/**
* @param string $dsn
* @param string|null $user
* @param string|null $password
* @param array|null $options
*
* @throws PDOException in case of an error.
*/
public function __construct($dsn, $user = null, $password = null, array $options = null)
{
try {
parent::__construct($dsn, $user, $password, $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, ['Doctrine\DBAL\Driver\PDOStatement', []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
* {@inheritdoc}
*/
public function exec($statement)
{
try {
return parent::exec($statement);
} catch (\PDOException $exception) {
throw new PDOException($exception);
}
}
/**
Arguments
"mysql:host=localhost;port=3306;dbname=p4000572_inmoReq"
"p4000572_inmoReq"
"R3qu3n4pro"
array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/Connector.php
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
}
}
/**
* Create a new PDO connection instance.
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
* @param array $options
* @return bool
*/
protected function isPersistentConnection($options)
{
return isset($options[PDO::ATTR_PERSISTENT]) &&
$options[PDO::ATTR_PERSISTENT];
}
/**
* Handle an exception that occurred during connect execution.
*
Arguments
"mysql:host=localhost;port=3306;dbname=p4000572_inmoReq"
"p4000572_inmoReq"
"R3qu3n4pro"
array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/Connector.php
return isset($options[PDO::ATTR_PERSISTENT]) &&
$options[PDO::ATTR_PERSISTENT];
}
/**
* Handle an exception that occurred during connect execution.
*
* @param \Throwable $e
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*
* @throws \Exception
*/
protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
{
if ($this->causedByLostConnection($e)) {
return $this->createPdoConnection($dsn, $username, $password, $options);
}
throw $e;
}
/**
* Get the PDO options based on the configuration.
*
* @param array $config
* @return array
*/
public function getOptions(array $config)
{
$options = $config['options'] ?? [];
return array_diff_key($this->options, $options) + $options;
}
/**
* Get the default PDO connection options.
Arguments
"mysql:host=localhost;port=3306;dbname=p4000572_inmoReq"
"p4000572_inmoReq"
"R3qu3n4pro"
array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/Connector.php
* @param string $dsn
* @param array $config
* @param array $options
* @return \PDO
*
* @throws \Exception
*/
public function createConnection($dsn, array $config, array $options)
{
[$username, $password] = [
$config['username'] ?? null, $config['password'] ?? null,
];
try {
return $this->createPdoConnection(
$dsn, $username, $password, $options
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
}
}
/**
* Create a new PDO connection instance.
*
* @param string $dsn
* @param string $username
* @param string $password
* @param array $options
* @return \PDO
*/
protected function createPdoConnection($dsn, $username, $password, $options)
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
Arguments
PDOException {#1288
-errorCode: 2006
-sqlState: 2006
#message: "SQLSTATE[HY000] [2006] MySQL server has gone away"
#code: 2006
#file: "/home/p4000572/public_html/laravel/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 50
-previous: PDOException {#1289
#message: "SQLSTATE[HY000] [2006] MySQL server has gone away"
#code: 2006
#file: "/home/p4000572/public_html/laravel/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 46
-previous: PDOException {#1281
#message: "PDO::__construct(): MySQL server has gone away"
#code: 0
#file: "/home/p4000572/public_html/laravel/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php"
#line: 46
+errorInfo: null
+"severity": 2
}
+errorInfo: null
}
+errorInfo: null
}
"mysql:host=localhost;port=3306;dbname=p4000572_inmoReq"
"p4000572_inmoReq"
"R3qu3n4pro"
array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/MySqlConnector.php
use PDO;
class MySqlConnector extends Connector implements ConnectorInterface
{
/**
* Establish a database connection.
*
* @param array $config
* @return \PDO
*/
public function connect(array $config)
{
$dsn = $this->getDsn($config);
$options = $this->getOptions($config);
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (! empty($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
$this->configureEncoding($connection, $config);
// Next, we will check to see if a timezone has been specified in this config
// and if it has we will issue a statement to modify the timezone with the
// database. Setting this DB timezone is an optional configuration item.
$this->configureTimezone($connection, $config);
$this->setModes($connection, $config);
return $connection;
}
/**
* Set the connection character set and collation.
*
Arguments
"mysql:host=localhost;port=3306;dbname=p4000572_inmoReq"
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
array:5 [
8 => 0
3 => 2
11 => 0
17 => false
20 => false
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/ConnectionFactory.php
{
return array_key_exists('host', $config)
? $this->createPdoResolverWithHosts($config)
: $this->createPdoResolverWithoutHosts($config);
}
/**
* Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
*
* @param array $config
* @return \Closure
*/
protected function createPdoResolverWithHosts(array $config)
{
return function () use ($config) {
foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
$config['host'] = $host;
try {
return $this->createConnector($config)->connect($config);
} catch (PDOException $e) {
continue;
}
}
throw $e;
};
}
/**
* Parse the hosts configuration item into an array.
*
* @param array $config
* @return array
*/
protected function parseHosts(array $config)
{
$hosts = Arr::wrap($config['host']);
if (empty($hosts)) {
Arguments
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connection.php
$this->doctrineConnection = new DoctrineConnection([
'pdo' => $this->getPdo(),
'dbname' => $this->getConfig('database'),
'driver' => $driver->getName(),
], $driver);
}
return $this->doctrineConnection;
}
/**
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
/**
* Get the current PDO connection used for reading.
*
* @return \PDO
*/
public function getReadPdo()
{
if ($this->transactions > 0) {
return $this->getPdo();
}
if ($this->recordsModified && $this->getConfig('sticky')) {
return $this->getPdo();
}
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connection.php
$this->doctrineConnection = new DoctrineConnection([
'pdo' => $this->getPdo(),
'dbname' => $this->getConfig('database'),
'driver' => $driver->getName(),
], $driver);
}
return $this->doctrineConnection;
}
/**
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
/**
* Get the current PDO connection used for reading.
*
* @return \PDO
*/
public function getReadPdo()
{
if ($this->transactions > 0) {
return $this->getPdo();
}
if ($this->recordsModified && $this->getConfig('sticky')) {
return $this->getPdo();
}
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connection.php
*
* @return \Doctrine\DBAL\Schema\AbstractSchemaManager
*/
public function getDoctrineSchemaManager()
{
return $this->getDoctrineDriver()->getSchemaManager($this->getDoctrineConnection());
}
/**
* Get the Doctrine DBAL database connection instance.
*
* @return \Doctrine\DBAL\Connection
*/
public function getDoctrineConnection()
{
if (is_null($this->doctrineConnection)) {
$driver = $this->getDoctrineDriver();
$this->doctrineConnection = new DoctrineConnection([
'pdo' => $this->getPdo(),
'dbname' => $this->getConfig('database'),
'driver' => $driver->getName(),
], $driver);
}
return $this->doctrineConnection;
}
/**
* Get the current PDO connection.
*
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
/home
/p4000572
/public_html
/laravel
/vendor
/larapack
/doctrine-support
/src
/DoctrineSupportServiceProvider.php
return $connection;
});
}
/**
* Add Doctrine types for the connection.
*
* @param Connection $connection
*/
protected function addDoctrineTypes(Connection $connection)
{
$name = $connection->getDriverName();
foreach (array_get($this->types, $name, []) as $type => $handler) {
if (!Type::hasType($type)) {
Type::addType($type, $handler);
}
$connection->getDoctrineConnection()
->getDatabasePlatform()
->registerDoctrineTypeMapping($type, $type);
}
}
}
/home
/p4000572
/public_html
/laravel
/vendor
/larapack
/doctrine-support
/src
/DoctrineSupportServiceProvider.php
*
* @var array
*/
protected $types = [
'mysql' => [
'enum' => EnumType::class,
],
];
/**
* Register the application services.
*/
public function register()
{
// Set resolver for MySQL
Connection::resolverFor('mysql', function ($connection, $database, $prefix = '', array $config = []) {
$connection = new MySqlConnection($connection, $database, $prefix, $config);
// Add Doctrine types for better support
$this->addDoctrineTypes($connection);
return $connection;
});
}
/**
* Add Doctrine types for the connection.
*
* @param Connection $connection
*/
protected function addDoctrineTypes(Connection $connection)
{
$name = $connection->getDriverName();
foreach (array_get($this->types, $name, []) as $type => $handler) {
if (!Type::hasType($type)) {
Type::addType($type, $handler);
}
$connection->getDoctrineConnection()
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/ConnectionFactory.php
throw new InvalidArgumentException("Unsupported driver [{$config['driver']}]");
}
/**
* Create a new connection instance.
*
* @param string $driver
* @param \PDO|\Closure $connection
* @param string $database
* @param string $prefix
* @param array $config
* @return \Illuminate\Database\Connection
*
* @throws \InvalidArgumentException
*/
protected function createConnection($driver, $connection, $database, $prefix = '', array $config = [])
{
if ($resolver = Connection::getResolver($driver)) {
return $resolver($connection, $database, $prefix, $config);
}
switch ($driver) {
case 'mysql':
return new MySqlConnection($connection, $database, $prefix, $config);
case 'pgsql':
return new PostgresConnection($connection, $database, $prefix, $config);
case 'sqlite':
return new SQLiteConnection($connection, $database, $prefix, $config);
case 'sqlsrv':
return new SqlServerConnection($connection, $database, $prefix, $config);
}
throw new InvalidArgumentException("Unsupported driver [{$driver}]");
}
}
Arguments
MySqlConnection {#1298}
"p4000572_inmoReq"
""
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/ConnectionFactory.php
* @param string $name
* @return array
*/
protected function parseConfig(array $config, $name)
{
return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
}
/**
* Create a single database connection instance.
*
* @param array $config
* @return \Illuminate\Database\Connection
*/
protected function createSingleConnection(array $config)
{
$pdo = $this->createPdoResolver($config);
return $this->createConnection(
$config['driver'], $pdo, $config['database'], $config['prefix'], $config
);
}
/**
* Create a single database connection instance.
*
* @param array $config
* @return \Illuminate\Database\Connection
*/
protected function createReadWriteConnection(array $config)
{
$connection = $this->createSingleConnection($this->getWriteConfig($config));
return $connection->setReadPdo($this->createReadPdo($config));
}
/**
* Create a new PDO instance for reading.
*
* @param array $config
Arguments
"mysql"
Closure() {#1297 …5}
"p4000572_inmoReq"
""
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Connectors
/ConnectionFactory.php
{
$this->container = $container;
}
/**
* Establish a PDO connection based on the configuration.
*
* @param array $config
* @param string $name
* @return \Illuminate\Database\Connection
*/
public function make(array $config, $name = null)
{
$config = $this->parseConfig($config, $name);
if (isset($config['read'])) {
return $this->createReadWriteConnection($config);
}
return $this->createSingleConnection($config);
}
/**
* Parse and prepare the database configuration.
*
* @param array $config
* @param string $name
* @return array
*/
protected function parseConfig(array $config, $name)
{
return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
}
/**
* Create a single database connection instance.
*
* @param array $config
* @return \Illuminate\Database\Connection
*/
Arguments
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/DatabaseManager.php
*/
protected function makeConnection($name)
{
$config = $this->configuration($name);
// First we will check by the connection name to see if an extension has been
// registered specifically for that connection. If it has we will call the
// Closure and pass it the config allowing it to resolve the connection.
if (isset($this->extensions[$name])) {
return call_user_func($this->extensions[$name], $config, $name);
}
// Next we will check to see if an extension has been registered for a driver
// and will call the Closure if so, which allows us to have a more generic
// resolver for the drivers themselves which applies to all connections.
if (isset($this->extensions[$driver = $config['driver']])) {
return call_user_func($this->extensions[$driver], $config, $name);
}
return $this->factory->make($config, $name);
}
/**
* Get the configuration for a connection.
*
* @param string $name
* @return array
*
* @throws \InvalidArgumentException
*/
protected function configuration($name)
{
$name = $name ?: $this->getDefaultConnection();
// To get the database connection configuration, we will just pull each of the
// connection configurations and get the configurations for the given name.
// If the configuration doesn't exist, we'll throw an exception and bail.
$connections = $this->app['config']['database.connections'];
if (is_null($config = Arr::get($connections, $name))) {
Arguments
array:14 [
"driver" => "mysql"
"host" => "localhost"
"port" => "3306"
"database" => "p4000572_inmoReq"
"username" => "p4000572_inmoReq"
"password" => "R3qu3n4pro"
"unix_socket" => ""
"charset" => "utf8mb4"
"collation" => "utf8mb4_unicode_ci"
"prefix" => ""
"prefix_indexes" => true
"strict" => true
"engine" => null
"name" => "mysql"
]
"mysql"
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/DatabaseManager.php
}
/**
* Get a database connection instance.
*
* @param string $name
* @return \Illuminate\Database\Connection
*/
public function connection($name = null)
{
[$database, $type] = $this->parseConnectionName($name);
$name = $name ?: $database;
// If we haven't created this connection, we'll create it based on the config
// provided in the application. Once we've created the connections we will
// set the "fetch mode" for PDO which determines the query return types.
if (! isset($this->connections[$name])) {
$this->connections[$name] = $this->configure(
$this->makeConnection($database), $type
);
}
return $this->connections[$name];
}
/**
* Parse the connection into an array of the name and read / write type.
*
* @param string $name
* @return array
*/
protected function parseConnectionName($name)
{
$name = $name ?: $this->getDefaultConnection();
return Str::endsWith($name, ['::read', '::write'])
? explode('::', $name, 2) : [$name, null];
}
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
*
* @param string $name
* @return $this
*/
public function setConnection($name)
{
$this->connection = $name;
return $this;
}
/**
* Resolve a connection instance.
*
* @param string|null $connection
* @return \Illuminate\Database\Connection
*/
public static function resolveConnection($connection = null)
{
return static::$resolver->connection($connection);
}
/**
* Get the connection resolver instance.
*
* @return \Illuminate\Database\ConnectionResolverInterface
*/
public static function getConnectionResolver()
{
return static::$resolver;
}
/**
* Set the connection resolver instance.
*
* @param \Illuminate\Database\ConnectionResolverInterface $resolver
* @return void
*/
public static function setConnectionResolver(Resolver $resolver)
{
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
/**
* Determine if two models are not the same.
*
* @param \Illuminate\Database\Eloquent\Model|null $model
* @return bool
*/
public function isNot($model)
{
return ! $this->is($model);
}
/**
* Get the database connection for the model.
*
* @return \Illuminate\Database\Connection
*/
public function getConnection()
{
return static::resolveConnection($this->getConnectionName());
}
/**
* Get the current connection name for the model.
*
* @return string
*/
public function getConnectionName()
{
return $this->connection;
}
/**
* Set the connection associated with the model.
*
* @param string $name
* @return $this
*/
public function setConnection($name)
{
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
/**
* Create a new Eloquent query builder for the model.
*
* @param \Illuminate\Database\Query\Builder $query
* @return \Illuminate\Database\Eloquent\Builder|static
*/
public function newEloquentBuilder($query)
{
return new Builder($query);
}
/**
* Get a new query builder instance for the connection.
*
* @return \Illuminate\Database\Query\Builder
*/
protected function newBaseQueryBuilder()
{
$connection = $this->getConnection();
return new QueryBuilder(
$connection, $connection->getQueryGrammar(), $connection->getPostProcessor()
);
}
/**
* Create a new Eloquent Collection instance.
*
* @param array $models
* @return \Illuminate\Database\Eloquent\Collection
*/
public function newCollection(array $models = [])
{
return new Collection($models);
}
/**
* Create a new pivot model instance.
*
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
/**
* Get a new query builder for the model's table.
*
* @return \Illuminate\Database\Eloquent\Builder
*/
public function newQuery()
{
return $this->registerGlobalScopes($this->newQueryWithoutScopes());
}
/**
* Get a new query builder that doesn't have any global scopes or eager loading.
*
* @return \Illuminate\Database\Eloquent\Builder|static
*/
public function newModelQuery()
{
return $this->newEloquentBuilder(
$this->newBaseQueryBuilder()
)->setModel($this);
}
/**
* Get a new query builder with no relationships loaded.
*
* @return \Illuminate\Database\Eloquent\Builder
*/
public function newQueryWithoutRelationships()
{
return $this->registerGlobalScopes($this->newModelQuery());
}
/**
* Register the global scopes for this builder instance.
*
* @param \Illuminate\Database\Eloquent\Builder $builder
* @return \Illuminate\Database\Eloquent\Builder
*/
public function registerGlobalScopes($builder)
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
* @param \Illuminate\Database\Eloquent\Builder $builder
* @return \Illuminate\Database\Eloquent\Builder
*/
public function registerGlobalScopes($builder)
{
foreach ($this->getGlobalScopes() as $identifier => $scope) {
$builder->withGlobalScope($identifier, $scope);
}
return $builder;
}
/**
* Get a new query builder that doesn't have any global scopes.
*
* @return \Illuminate\Database\Eloquent\Builder|static
*/
public function newQueryWithoutScopes()
{
return $this->newModelQuery()
->with($this->with)
->withCount($this->withCount);
}
/**
* Get a new query instance without a given scope.
*
* @param \Illuminate\Database\Eloquent\Scope|string $scope
* @return \Illuminate\Database\Eloquent\Builder
*/
public function newQueryWithoutScope($scope)
{
return $this->newQuery()->withoutGlobalScope($scope);
}
/**
* Get a new query to restore one or more models by their queueable IDs.
*
* @param array|int $ids
* @return \Illuminate\Database\Eloquent\Builder
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
}
/**
* Begin querying the model.
*
* @return \Illuminate\Database\Eloquent\Builder
*/
public static function query()
{
return (new static)->newQuery();
}
/**
* Get a new query builder for the model's table.
*
* @return \Illuminate\Database\Eloquent\Builder
*/
public function newQuery()
{
return $this->registerGlobalScopes($this->newQueryWithoutScopes());
}
/**
* Get a new query builder that doesn't have any global scopes or eager loading.
*
* @return \Illuminate\Database\Eloquent\Builder|static
*/
public function newModelQuery()
{
return $this->newEloquentBuilder(
$this->newBaseQueryBuilder()
)->setModel($this);
}
/**
* Get a new query builder with no relationships loaded.
*
* @return \Illuminate\Database\Eloquent\Builder
*/
public function newQueryWithoutRelationships()
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Database
/Eloquent
/Model.php
* Begin querying the model on the write connection.
*
* @return \Illuminate\Database\Query\Builder
*/
public static function onWriteConnection()
{
$instance = new static;
return $instance->newQuery()->useWritePdo();
}
/**
* Get all of the models from the database.
*
* @param array|mixed $columns
* @return \Illuminate\Database\Eloquent\Collection|static[]
*/
public static function all($columns = ['*'])
{
return (new static)->newQuery()->get(
is_array($columns) ? $columns : func_get_args()
);
}
/**
* Begin querying a model with eager loading.
*
* @param array|string $relations
* @return \Illuminate\Database\Eloquent\Builder|static
*/
public static function with($relations)
{
return (new static)->newQuery()->with(
is_string($relations) ? func_get_args() : $relations
);
}
/**
* Eager load relations on the model.
*
/home
/p4000572
/public_html
/laravel
/vendor
/tcg
/voyager
/src
/Voyager.php
public function dimmers()
{
$widgetClasses = config('voyager.dashboard.widgets');
$dimmers = Widget::group('voyager::dimmers');
foreach ($widgetClasses as $widgetClass) {
$widget = app($widgetClass);
if ($widget->shouldBeDisplayed()) {
$dimmers->addWidget($widgetClass);
}
}
return $dimmers;
}
public function setting($key, $default = null)
{
if ($this->setting_cache === null) {
foreach (self::model('Setting')->all() as $setting) {
$keys = explode('.', $setting->key);
@$this->setting_cache[$keys[0]][$keys[1]] = $setting->value;
}
}
$parts = explode('.', $key);
if (count($parts) == 2) {
return @$this->setting_cache[$parts[0]][$parts[1]] ?: $default;
} else {
return @$this->setting_cache[$parts[0]] ?: $default;
}
}
public function image($file, $default = '')
{
if (!empty($file)) {
return str_replace('\\', '/', Storage::disk(config('voyager.storage.disk'))->url($file));
}
/home
/p4000572
/public_html
/laravel
/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
"admin.google_recaptcha_site_key"
null
/home
/p4000572
/public_html
/laravel
/vendor
/tcg
/voyager
/src
/Helpers
/helpers.php
<?php
if (!function_exists('setting')) {
function setting($key, $default = null)
{
return TCG\Voyager\Facades\Voyager::setting($key, $default);
}
}
if (!function_exists('menu')) {
function menu($menuName, $type = null, array $options = [])
{
return TCG\Voyager\Facades\Voyager::model('Menu')->display($menuName, $type, $options);
}
}
if (!function_exists('voyager_asset')) {
function voyager_asset($path, $secure = null)
{
return asset(config('voyager.assets_path').'/'.$path, $secure);
}
}
Arguments
"setting"
array:2 [
0 => "admin.google_recaptcha_site_key"
1 => null
]
/home
/p4000572
/public_html
/laravel
/vendor
/josiasmontag
/laravel-recaptchav3
/src
/config
/recaptchav3.php
<?php
return [
'sitekey' => setting('admin.google_recaptcha_site_key'),
'secret' => setting('admin.google_recaptcha_secret_key')
];
Arguments
"admin.google_recaptcha_site_key"
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Support
/ServiceProvider.php
* @param \Illuminate\Contracts\Foundation\Application|\Illuminate\Foundation\Application $app
* @return void
*/
public function __construct($app)
{
$this->app = $app;
}
/**
* Merge the given configuration with the existing configuration.
*
* @param string $path
* @param string $key
* @return void
*/
protected function mergeConfigFrom($path, $key)
{
$config = $this->app['config']->get($key, []);
$this->app['config']->set($key, array_merge(require $path, $config));
}
/**
* Load the given routes file if routes are not already cached.
*
* @param string $path
* @return void
*/
protected function loadRoutesFrom($path)
{
if (! $this->app->routesAreCached()) {
require $path;
}
}
/**
* Register a view file namespace.
*
* @param string|array $path
* @param string $namespace
Arguments
"/home/p4000572/public_html/laravel/vendor/josiasmontag/laravel-recaptchav3/src/config/recaptchav3.php"
/home
/p4000572
/public_html
/laravel
/vendor
/josiasmontag
/laravel-recaptchav3
/src
/Providers
/RecaptchaV3ServiceProvider.php
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../config/recaptchav3.php' => config_path('recaptchav3.php'),
], 'config');
}
$this->mergeConfigFrom(__DIR__.'/../config/recaptchav3.php', 'recaptchav3');
$this->app['validator']->extend('recaptchav3', function ($attribute, $value, $paramaters) {
$action = $paramaters[0];
$minScore = isset($paramaters[1]) ? (float)$paramaters[1] : 0.5;
$score = RecaptchaV3Facade::verify($value, $action);
return $score && $score >= $minScore;
});
}
/**
* Register the service provider.
*/
public function register()
{
$this->app->singleton(RecaptchaV3::class);
}
/**
* Get the services provided by the provider.
*
Arguments
"/home/p4000572/public_html/laravel/vendor/josiasmontag/laravel-recaptchav3/src/Providers/../config/recaptchav3.php"
"recaptchav3"
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Container
/BoundMethod.php
class BoundMethod
{
/**
* Call the given Closure / class@method and inject its dependencies.
*
* @param \Illuminate\Container\Container $container
* @param callable|string $callback
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*/
public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
{
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return call_user_func_array(
$callback, static::getMethodDependencies($container, $callback, $parameters)
);
});
}
/**
* Call a string reference to a class using Class@method syntax.
*
* @param \Illuminate\Container\Container $container
* @param string $target
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*
* @throws \InvalidArgumentException
*/
protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
{
$segments = explode('@', $target);
// We will assume an @ sign is used to delimit the class name from the method
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Container
/BoundMethod.php
class BoundMethod
{
/**
* Call the given Closure / class@method and inject its dependencies.
*
* @param \Illuminate\Container\Container $container
* @param callable|string $callback
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*/
public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
{
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return call_user_func_array(
$callback, static::getMethodDependencies($container, $callback, $parameters)
);
});
}
/**
* Call a string reference to a class using Class@method syntax.
*
* @param \Illuminate\Container\Container $container
* @param string $target
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*
* @throws \InvalidArgumentException
*/
protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
{
$segments = explode('@', $target);
// We will assume an @ sign is used to delimit the class name from the method
Arguments
array:2 [
0 => RecaptchaV3ServiceProvider {#103}
1 => "boot"
]
[]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Container
/BoundMethod.php
* @param callable $callback
* @param mixed $default
* @return mixed
*/
protected static function callBoundMethod($container, $callback, $default)
{
if (! is_array($callback)) {
return $default instanceof Closure ? $default() : $default;
}
// Here we need to turn the array callable into a Class@method string we can use to
// examine the container and see if there are any method bindings for this given
// method. If there are, we can call this method binding callback immediately.
$method = static::normalizeMethod($callback);
if ($container->hasMethodBinding($method)) {
return $container->callMethodBinding($method, $callback[0]);
}
return $default instanceof Closure ? $default() : $default;
}
/**
* Normalize the given callback into a Class@method string.
*
* @param callable $callback
* @return string
*/
protected static function normalizeMethod($callback)
{
$class = is_string($callback[0]) ? $callback[0] : get_class($callback[0]);
return "{$class}@{$callback[1]}";
}
/**
* Get all dependencies for a given method.
*
* @param \Illuminate\Container\Container $container
* @param callable|string $callback
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Container
/BoundMethod.php
/**
* Call the given Closure / class@method and inject its dependencies.
*
* @param \Illuminate\Container\Container $container
* @param callable|string $callback
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*/
public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
{
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return call_user_func_array(
$callback, static::getMethodDependencies($container, $callback, $parameters)
);
});
}
/**
* Call a string reference to a class using Class@method syntax.
*
* @param \Illuminate\Container\Container $container
* @param string $target
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*
* @throws \InvalidArgumentException
*/
protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
{
$segments = explode('@', $target);
// We will assume an @ sign is used to delimit the class name from the method
// name. We will split on this @ sign and then build a callable array that
// we can pass right back into the "call" method for dependency binding.
Arguments
Application {#2}
array:2 [
0 => RecaptchaV3ServiceProvider {#103}
1 => "boot"
]
Closure() {#31 …4}
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Container
/Container.php
* @return \Closure
*/
public function wrap(Closure $callback, array $parameters = [])
{
return function () use ($callback, $parameters) {
return $this->call($callback, $parameters);
};
}
/**
* Call the given Closure / class@method and inject its dependencies.
*
* @param callable|string $callback
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*/
public function call($callback, array $parameters = [], $defaultMethod = null)
{
return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
}
/**
* Get a closure to resolve the given type from the container.
*
* @param string $abstract
* @return \Closure
*/
public function factory($abstract)
{
return function () use ($abstract) {
return $this->make($abstract);
};
}
/**
* An alias function name for make().
*
* @param string $abstract
* @param array $parameters
Arguments
Application {#2}
array:2 [
0 => RecaptchaV3ServiceProvider {#103}
1 => "boot"
]
[]
null
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Application.php
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
}
/**
* Boot the given service provider.
*
* @param \Illuminate\Support\ServiceProvider $provider
* @return mixed
*/
protected function bootProvider(ServiceProvider $provider)
{
if (method_exists($provider, 'boot')) {
return $this->call([$provider, 'boot']);
}
}
/**
* Register a new boot listener.
*
* @param mixed $callback
* @return void
*/
public function booting($callback)
{
$this->bootingCallbacks[] = $callback;
}
/**
* Register a new "booted" listener.
*
* @param mixed $callback
* @return void
*/
Arguments
array:2 [
0 => RecaptchaV3ServiceProvider {#103}
1 => "boot"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Application.php
}
/**
* Boot the application's service providers.
*
* @return void
*/
public function boot()
{
if ($this->booted) {
return;
}
// Once the application has booted we will also fire some "booted" callbacks
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
}
/**
* Boot the given service provider.
*
* @param \Illuminate\Support\ServiceProvider $provider
* @return mixed
*/
protected function bootProvider(ServiceProvider $provider)
{
if (method_exists($provider, 'boot')) {
return $this->call([$provider, 'boot']);
}
}
Arguments
RecaptchaV3ServiceProvider {#103}
Arguments
RecaptchaV3ServiceProvider {#103}
19
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Application.php
/**
* Boot the application's service providers.
*
* @return void
*/
public function boot()
{
if ($this->booted) {
return;
}
// Once the application has booted we will also fire some "booted" callbacks
// for any listeners that need to do work after this initial booting gets
// finished. This is useful when ordering the boot-up processes we run.
$this->fireAppCallbacks($this->bootingCallbacks);
array_walk($this->serviceProviders, function ($p) {
$this->bootProvider($p);
});
$this->booted = true;
$this->fireAppCallbacks($this->bootedCallbacks);
}
/**
* Boot the given service provider.
*
* @param \Illuminate\Support\ServiceProvider $provider
* @return mixed
*/
protected function bootProvider(ServiceProvider $provider)
{
if (method_exists($provider, 'boot')) {
return $this->call([$provider, 'boot']);
}
}
/**
Arguments
array:37 [
0 => EventServiceProvider {#6}
1 => LogServiceProvider {#8}
2 => RoutingServiceProvider {#10}
3 => AuthServiceProvider {#41}
4 => CookieServiceProvider {#37}
5 => DatabaseServiceProvider {#51}
6 => EncryptionServiceProvider {#58}
7 => FilesystemServiceProvider {#60}
8 => FormRequestServiceProvider {#66}
9 => FoundationServiceProvider {#65}
10 => NotificationServiceProvider {#69}
11 => PaginationServiceProvider {#71}
12 => SessionServiceProvider {#75}
13 => ViewServiceProvider {#79}
14 => NoCaptchaServiceProvider {#83}
15 => ServiceProvider {#85}
16 => DumpServerServiceProvider {#91}
17 => TrustedProxyServiceProvider {#99}
18 => ImageServiceProvider {#100}
19 => RecaptchaV3ServiceProvider {#103}
20 => HooksServiceProvider {#106}
21 => VoyagerHooksServiceProvider {#105}
22 => BulmaPresetServiceProvider {#127}
23 => NexmoChannelServiceProvider {#128}
24 => SlackChannelServiceProvider {#131}
25 => ServiceProvider {#133}
26 => VoyagerEventServiceProvider {#135}
27 => VoyagerDummyServiceProvider {#136}
28 => DoctrineSupportServiceProvider {#137}
29 => VoyagerServiceProvider {#134}
30 => AppServiceProvider {#1317}
31 => AuthServiceProvider {#1322}
32 => EventServiceProvider {#1321}
33 => RouteServiceProvider {#1320}
34 => ValidationServiceProvider {#1318}
35 => TranslationServiceProvider {#1313}
36 => HashServiceProvider {#1284}
]
Closure($p) {#22 …5}
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Bootstrap
/BootProviders.php
<?php
namespace Illuminate\Foundation\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
class BootProviders
{
/**
* Bootstrap the given application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->boot();
}
}
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Application.php
{
$this->register(new EventServiceProvider($this));
$this->register(new LogServiceProvider($this));
$this->register(new RoutingServiceProvider($this));
}
/**
* Run the given array of bootstrap classes.
*
* @param array $bootstrappers
* @return void
*/
public function bootstrapWith(array $bootstrappers)
{
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
/**
* Register a callback to run after loading the environment.
*
* @param \Closure $callback
* @return void
*/
public function afterLoadingEnvironment(Closure $callback)
{
return $this->afterBootstrapping(
LoadEnvironmentVariables::class, $callback
);
}
/**
* Register a callback to run before a bootstrapper.
Arguments
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
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()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
array:6 [
0 => "Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables"
1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
2 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
3 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
4 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
5 => "Illuminate\Foundation\Bootstrap\BootProviders"
]
/home
/p4000572
/public_html
/laravel
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
$this->app['events']->dispatch(
new Events\RequestHandled($request, $response)
);
return $response;
}
/**
* 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());
}
}
/**
/home
/p4000572
/public_html
/laravel
/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 {#42
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: null
#baseUrl: null
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
pathInfo: "/view.php"
requestUri: "/view.php?ccode=134523354632048&startitem=&startpage=&endpage=¤t=&category=&make=&model=&condition="
baseUrl: ""
basePath: ""
method: "GET"
format: "html"
}
/home
/p4000572
/public_html
/index.php
*/
$app = require_once __DIR__.'/laravel/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 {#42
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: ParameterBag {#44}
+request: ParameterBag {#50}
+query: ParameterBag {#50}
+server: ServerBag {#46}
+files: FileBag {#47}
+cookies: ParameterBag {#45}
+headers: HeaderBag {#48}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: null
#baseUrl: null
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
pathInfo: "/view.php"
requestUri: "/view.php?ccode=134523354632048&startitem=&startpage=&endpage=¤t=&category=&make=&model=&condition="
baseUrl: ""
basePath: ""
method: "GET"
format: "html"
}