/var/www/html/cstore/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[23000]: Integrity constraint violation: 1062 Duplicate entry 'App\Core\Modules\Products\Services\Admin\ProductManageService' for key 'packages_extensions_namespace_unique' (SQL: insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (App\Core\Modules\Products\Services\Admin\ProductManageService, {"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}, 2024-03-29 10:33:23, 2024-03-29 10:33:23))"
[internal]
Arguments
App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
56
/var/www/html/cstore/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Driver\PDO;
use Doctrine\DBAL\Driver\PDOException;
/**
* @internal
*
* @psalm-immutable
*/
final class Exception extends PDOException
{
public static function new(\PDOException $exception): self
{
return new self($exception);
}
}
Arguments
"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'App\Core\Modules\Products\Services\Admin\ProductManageService' for key 'packages_extensions_namespace_unique'"
/var/www/html/cstore/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
return parent::fetch(...$args);
} catch (PDOException $exception) {
throw Exception::new($exception);
Arguments
PDOException {#633
#message: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'App\Core\Modules\Products\Services\Admin\ProductManageService' for key 'packages_extensions_namespace_unique'"
#code: "23000"
#file: "/var/www/html/cstore/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 112
+errorInfo: array:3 [
0 => "23000"
1 => 1062
2 => "Duplicate entry 'App\Core\Modules\Products\Services\Admin\ProductManageService' for key 'packages_extensions_namespace_unique'"
]
}
[internal]
Arguments
App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
56
/var/www/html/cstore/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
* @deprecated Use free() instead.
*/
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
return parent::fetch(...$args);
Arguments
"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'App\Core\Modules\Products\Services\Admin\ProductManageService' for key 'packages_extensions_namespace_unique'"
/var/www/html/cstore/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
* @deprecated Use free() instead.
*/
public function closeCursor()
{
try {
return parent::closeCursor();
} catch (PDOException $exception) {
// Exceptions not allowed by the interface.
// In case driver implementations do not adhere to the interface, silence exceptions here.
return true;
}
}
/**
* {@inheritdoc}
*/
public function execute($params = null)
{
try {
return parent::execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
*
* @deprecated Use fetchNumeric(), fetchAssociative() or fetchOne() instead.
*/
public function fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
$args = func_get_args();
if (isset($args[0])) {
$args[0] = $this->convertFetchMode($args[0]);
}
try {
return parent::fetch(...$args);
Arguments
/var/www/html/cstore/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.
/var/www/html/cstore/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
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
/var/www/html/cstore/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
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
Closure($query, $bindings) {#653 …4}
/var/www/html/cstore/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
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
Closure($query, $bindings) {#653 …4}
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Connection.php
* Get the PDO connection to use for a select query.
*
* @param bool $useReadPdo
* @return \PDO
*/
protected function getPdoForSelect($useReadPdo = true)
{
return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
}
/**
* Run an insert statement against the database.
*
* @param string $query
* @param array $bindings
* @return bool
*/
public function insert($query, $bindings = [])
{
return $this->statement($query, $bindings);
}
/**
* Run an update statement against the database.
*
* @param string $query
* @param array $bindings
* @return int
*/
public function update($query, $bindings = [])
{
return $this->affectingStatement($query, $bindings);
}
/**
* Run a delete statement against the database.
*
* @param string $query
* @param array $bindings
* @return int
Arguments
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php
* @param array $results
* @return array
*/
public function processSelect(Builder $query, $results)
{
return $results;
}
/**
* Process an "insert get ID" query.
*
* @param \Illuminate\Database\Query\Builder $query
* @param string $sql
* @param array $values
* @param string|null $sequence
* @return int
*/
public function processInsertGetId(Builder $query, $sql, $values, $sequence = null)
{
$query->getConnection()->insert($sql, $values);
$id = $query->getConnection()->getPdo()->lastInsertId($sequence);
return is_numeric($id) ? (int) $id : $id;
}
/**
* Process the results of a column listing query.
*
* @param array $results
* @return array
*/
public function processColumnListing($results)
{
return $results;
}
}
Arguments
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
return $this->connection->affectingStatement(
$this->grammar->compileInsertOrIgnore($this, $values),
$this->cleanBindings(Arr::flatten($values, 1))
);
}
/**
* Insert a new record and get the value of the primary key.
*
* @param array $values
* @param string|null $sequence
* @return int
*/
public function insertGetId(array $values, $sequence = null)
{
$sql = $this->grammar->compileInsertGetId($this, $values, $sequence);
$values = $this->cleanBindings($values);
return $this->processor->processInsertGetId($this, $sql, $values, $sequence);
}
/**
* Insert new records into the table using a subquery.
*
* @param array $columns
* @param \Closure|\Illuminate\Database\Query\Builder|string $query
* @return bool
*/
public function insertUsing(array $columns, $query)
{
[$sql, $bindings] = $this->createSub($query);
return $this->connection->insert(
$this->grammar->compileInsertUsing($this, $columns, $sql),
$this->cleanBindings($bindings)
);
}
/**
Arguments
Illuminate\Database\Query\Builder {#652}
"insert into `packages_extensions` (`namespace`, `extension_map`, `updated_at`, `created_at`) values (?, ?, ?, ?)"
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
"id"
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
if (isset($this->localMacros[$method])) {
array_unshift($parameters, $this);
return $this->localMacros[$method](...$parameters);
}
if (isset(static::$macros[$method])) {
if (static::$macros[$method] instanceof Closure) {
return call_user_func_array(static::$macros[$method]->bindTo($this, static::class), $parameters);
}
return call_user_func_array(static::$macros[$method], $parameters);
}
if (method_exists($this->model, $scope = 'scope'.ucfirst($method))) {
return $this->callScope([$this->model, $scope], $parameters);
}
if (in_array($method, $this->passthru)) {
return $this->toBase()->{$method}(...$parameters);
}
$this->forwardCallTo($this->query, $method, $parameters);
return $this;
}
/**
* Dynamically handle calls into the query instance.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public static function __callStatic($method, $parameters)
{
if ($method === 'macro') {
static::$macros[$parameters[0]] = $parameters[1];
Arguments
array:4 [
0 => "App\Core\Modules\Products\Services\Admin\ProductManageService"
1 => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
2 => "2024-03-29 10:33:23"
3 => "2024-03-29 10:33:23"
]
"id"
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
// during the event. This will allow them to do so and run an update here.
$this->exists = true;
$this->wasRecentlyCreated = true;
$this->fireModelEvent('created', false);
return true;
}
/**
* Insert the given attributes and set the ID on the model.
*
* @param \Illuminate\Database\Eloquent\Builder $query
* @param array $attributes
* @return void
*/
protected function insertAndSetId(Builder $query, $attributes)
{
$id = $query->insertGetId($attributes, $keyName = $this->getKeyName());
$this->setAttribute($keyName, $id);
}
/**
* Destroy the models for the given IDs.
*
* @param \Illuminate\Support\Collection|array|int $ids
* @return int
*/
public static function destroy($ids)
{
// We'll initialize a count here so we will return the total number of deletes
// for the operation. The developers can then check this number as a boolean
// type value or get this total count of records deleted for logging, etc.
$count = 0;
if ($ids instanceof BaseCollection) {
$ids = $ids->all();
}
Arguments
"insertGetId"
array:2 [
0 => array:4 [
"namespace" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"extension_map" => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
"updated_at" => "2024-03-29 10:33:23"
"created_at" => "2024-03-29 10:33:23"
]
1 => "id"
]
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
protected function performInsert(Builder $query)
{
if ($this->fireModelEvent('creating') === false) {
return false;
}
// First we'll need to create a fresh query instance and touch the creation and
// update timestamps on this model, which are maintained by us for developer
// convenience. After, we will just continue saving these model instances.
if ($this->usesTimestamps()) {
$this->updateTimestamps();
}
// If the model has an incrementing key, we can use the "insertGetId" method on
// the query builder, which will give us back the final inserted ID for this
// table from the database. Not all tables have to be incrementing though.
$attributes = $this->getAttributes();
if ($this->getIncrementing()) {
$this->insertAndSetId($query, $attributes);
}
// If the table isn't incrementing we'll simply insert these attributes as they
// are. These attribute arrays must contain an "id" column previously placed
// there by the developer as the manually determined key for these models.
else {
if (empty($attributes)) {
return true;
}
$query->insert($attributes);
}
// We will go ahead and set the exists property to true, so that it is set when
// the created event is fired, just in case the developer tries to update it
// during the event. This will allow them to do so and run an update here.
$this->exists = true;
$this->wasRecentlyCreated = true;
Arguments
Illuminate\Database\Eloquent\Builder {#632}
array:4 [
"namespace" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"extension_map" => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
"updated_at" => "2024-03-29 10:33:23"
"created_at" => "2024-03-29 10:33:23"
]
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
// If the "saving" event returns false we'll bail out of the save and return
// false, indicating that the save failed. This provides a chance for any
// listeners to cancel save operations if validations fail or whatever.
if ($this->fireModelEvent('saving') === false) {
return false;
}
// If the model already exists in the database we can just update our record
// that is already in this database using the current IDs in this "where"
// clause to only update this model. Otherwise, we'll just insert them.
if ($this->exists) {
$saved = $this->isDirty() ?
$this->performUpdate($query) : true;
}
// If the model is brand new, we'll insert it into our database and set the
// ID attribute on the model to the value of the newly inserted row's ID
// which is typically an auto-increment value managed by the database.
else {
$saved = $this->performInsert($query);
if (! $this->getConnectionName() &&
$connection = $query->getConnection()) {
$this->setConnection($connection->getName());
}
}
// If the model is successfully saved, we need to do a few more things once
// that is done. We will call the "saved" method here to run any actions
// we need to happen after a model gets successfully saved right here.
if ($saved) {
$this->finishSave($options);
}
return $saved;
}
/**
* Save the model to the database using transaction.
*
Arguments
Illuminate\Database\Eloquent\Builder {#632}
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
// results we get the proper section of results. Then, we'll create the full
// paginator instances for these results with the given page and per page.
$this->skip(($page - 1) * $perPage)->take($perPage + 1);
return $this->simplePaginator($this->get($columns), $perPage, $page, [
'path' => Paginator::resolveCurrentPath(),
'pageName' => $pageName,
]);
}
/**
* Save a new model and return the instance.
*
* @param array $attributes
* @return \Illuminate\Database\Eloquent\Model|$this
*/
public function create(array $attributes = [])
{
return tap($this->newModelInstance($attributes), function ($instance) {
$instance->save();
});
}
/**
* Save a new model and return the instance. Allow mass-assignment.
*
* @param array $attributes
* @return \Illuminate\Database\Eloquent\Model|$this
*/
public function forceCreate(array $attributes)
{
return $this->model->unguarded(function () use ($attributes) {
return $this->newModelInstance()->create($attributes);
});
}
/**
* Update a record in the database.
*
* @param array $values
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Support/helpers.php
{
return Str::studly($value);
}
}
if (! function_exists('tap')) {
/**
* Call the given Closure with the given value then return the value.
*
* @param mixed $value
* @param callable|null $callback
* @return mixed
*/
function tap($value, $callback = null)
{
if (is_null($callback)) {
return new HigherOrderTapProxy($value);
}
$callback($value);
return $value;
}
}
if (! function_exists('throw_if')) {
/**
* Throw the given exception if the given condition is true.
*
* @param mixed $condition
* @param \Throwable|string $exception
* @param array ...$parameters
* @return mixed
*
* @throws \Throwable
*/
function throw_if($condition, $exception, ...$parameters)
{
if ($condition) {
throw (is_string($exception) ? new $exception(...$parameters) : $exception);
Arguments
App\Models\PackageExtension {#631}
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
// paginator instances for these results with the given page and per page.
$this->skip(($page - 1) * $perPage)->take($perPage + 1);
return $this->simplePaginator($this->get($columns), $perPage, $page, [
'path' => Paginator::resolveCurrentPath(),
'pageName' => $pageName,
]);
}
/**
* Save a new model and return the instance.
*
* @param array $attributes
* @return \Illuminate\Database\Eloquent\Model|$this
*/
public function create(array $attributes = [])
{
return tap($this->newModelInstance($attributes), function ($instance) {
$instance->save();
});
}
/**
* Save a new model and return the instance. Allow mass-assignment.
*
* @param array $attributes
* @return \Illuminate\Database\Eloquent\Model|$this
*/
public function forceCreate(array $attributes)
{
return $this->model->unguarded(function () use ($attributes) {
return $this->newModelInstance()->create($attributes);
});
}
/**
* Update a record in the database.
*
* @param array $values
* @return int
Arguments
App\Models\PackageExtension {#631}
Closure($instance) {#628 …4}
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php
use Error;
use BadMethodCallException;
trait ForwardsCalls
{
/**
* Forward a method call to the given object.
*
* @param mixed $object
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
protected function forwardCallTo($object, $method, $parameters)
{
try {
return $object->{$method}(...$parameters);
} catch (Error | BadMethodCallException $e) {
$pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~';
if (! preg_match($pattern, $e->getMessage(), $matches)) {
throw $e;
}
if ($matches['class'] != get_class($object) ||
$matches['method'] != $method) {
throw $e;
}
static::throwBadMethodCallException($method);
}
}
/**
* Throw a bad method call exception for the given method.
*
* @param string $method
Arguments
array:2 [
"namespace" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"extension_map" => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
]
/var/www/html/cstore/cstore-team/core7x/src/Eloquents/Platforms/Abstracts/CMakeRelationResolver.php
/**
* Handle dynamic method calls into the model.
*
* @param string $method
* @param array $parameters
*
* @return mixed
*/
public function __call($method, $parameters)
{
if (in_array($method, ['increment', 'decrement'])) {
return $this->{$method}(...$parameters);
}
if ($resolver = (static::$relationResolvers[get_class($this)][$method] ?? null)) {
return $resolver($this);
}
return $this->forwardCallTo($this->newQuery(), $method, $parameters);
}
/**
* Get a relationship value from a method.
*
* @param string $method
*
* @throws \LogicException
*
* @return mixed
*/
protected function getRelationshipFromMethod($method)
{
$relation = $this->{$method}();
if (! $relation instanceof Relation) {
if (is_null($relation)) {
throw new LogicException(sprintf(
'%s::%s must return a relationship instance, but "null" was returned. Was the "return" keyword used?', static::class, $method
));
Arguments
Illuminate\Database\Eloquent\Builder {#667}
"create"
array:1 [
0 => array:2 [
"namespace" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"extension_map" => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
]
]
/var/www/html/cstore/cstore-team/core7old/src/Models/PackageExtension.php
*/
private static $extensions = '';
/**
* Insert extension to db.
*
* @param string $namespace
* @param array $dataToInsert
*
* @return bool
*/
public function addExtension(string $namespace, array $dataToInsert): bool
{
if (null === ($packageExtension = self::extensionsExistsByNamespace($namespace))) {
$data = [
'namespace' => $namespace,
'extension_map' => json_encode($dataToInsert),
];
return (bool) $this->create($data);
}
$existsExtension = $packageExtension->extension_map;
$mergedExtension = $this->mergeExtensions(json_decode($existsExtension, true), $dataToInsert);
return $packageExtension->update(['extension_map' => json_encode($mergedExtension)]);
}
/**
* Extensions exists in db by namespace.
*
* @param string $namespace
*
* @return \App\Models\PackageExtension | null
*/
public function extensionsExistsByNamespace(string $namespace): ?PackageExtension
{
return $this->where('namespace', $namespace)->first();
}
Arguments
"create"
array:1 [
0 => array:2 [
"namespace" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"extension_map" => "{"saveProduct":[{"package_id":2,"priority":null,"active":1,"extendNamespace":"App\\Core\\Modules\\Allegro\\Extensions\\Services\\Products\\UpdatePricesAndStocksAfterChange","type":"after","extend":"updatePricesAndStocksOnAllegro"}]}"
]
]
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Installation/Abstraction/Installer.php
return $extensionsData;
}
/**
* Prepare extensions and add to package.
*
* @param array $extensionsData
*
* @throws \App\Core\System\Packages\Exceptions\PackageInstallerException
*
* @return bool
*/
protected function prepareAndAdd(array $extensionsData): bool
{
$extensions = $this->prepareExtensionData($extensionsData);
$namespaces = [];
foreach ($extensions as $namespace => $extension) {
$dataFrom = $this->packageExtension->addExtension($namespace, $extension);
if (! $dataFrom) {
throw new PackageInstallerException('Can not add extension to db');
}
$namespaces[] = $namespace;
}
$this->package->update(['extending' => json_encode($namespaces)]);
return true;
}
/**
* Prepare extension array for db.
*
* @param array $data
*
* @return array
*/
protected function prepareExtensionData(array $data): array
Arguments
"App\Core\Modules\Products\Services\Admin\ProductManageService"
array:1 [
"saveProduct" => array:1 [
0 => array:6 [
"package_id" => 2
"priority" => null
"active" => 1
"extendNamespace" => "App\Core\Modules\Allegro\Extensions\Services\Products\UpdatePricesAndStocksAfterChange"
"type" => "after"
"extend" => "updatePricesAndStocksOnAllegro"
]
]
]
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Installation/Abstraction/Installer.php
return Package::TYPE_CORE === $this->packageType ? 'Core' : '';
}
/**
* Read extension from phpdoc and add to package.
*
* @throws \App\Core\System\Packages\Exceptions\PackageInstallerException
*
* @return bool
*/
protected function addExtensionPHPDocs(): bool
{
$path = $this->getPackageExtensionPath();
$extensionsData = [];
if ($this->filesystem->isDirectory($path)) {
$extensionsData = $this->scanForExtensionsInPackage($path);
}
return $this->prepareAndAdd($extensionsData);
}
/**
* Iterate over files in given path to read extensions.
*
* @param string $path
*
* @return array
*/
protected function scanForExtensionsInPackage(string $path): array
{
$files = $this->filesystem->allFiles($path);
$extensionsData = [];
foreach ($files as $file) {
try {
$file = str_replace($this->packagePath, '', $file);
$namespace = mb_substr(str_replace(DIRECTORY_SEPARATOR, '\\', $this->package->namespace . $file), 0, -4);
Arguments
array:1 [
0 => array:3 [
"namespace" => "App\Core\Modules\Allegro\Extensions\Services\Products\UpdatePricesAndStocksAfterChange"
"extend" => "App\Core\Modules\Products\Services\Admin\ProductManageService"
"methods" => array:1 [
0 => array:3 [
"extending" => "saveProduct"
"type" => "after"
"extend" => "updatePricesAndStocksOnAllegro"
]
]
]
]
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Installation/PackageInstaller.php
throw new PackageInstallerException(trans('CStore7x.Main::admin/api/marketplace/packages/installation/install.errors.extract'));
}
$this->deleteZip();
}
/**
* Create package and read extensions.
*
* @throws \Exception
*
* @return void
*/
protected function stepTwo(): void
{
$this->package = $this->createPackage();
try {
$this->addExtensionPHPDocs();
} catch (Exception $exception) {
$this->package->delete();
throw $exception;
}
}
/**
* Make new package migration.
*
* @throws \App\Exceptions\MigrateException
*
* @return void
*/
protected function stepThree(): void
{
if ($this->hasMigrations()) {
try {
$this->resolveMigrations();
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Installation/PackageFakeInstaller.php
class PackageFakeInstaller extends PackageInstaller
{
protected $packageActive = 1;
/**
* {@inheritdoc}
*
* @param array $data
*
* @return void
*/
public function install(array $data): void
{
$this->setProperties($data);
$this->packagePath = $data['packagePath'];
// create package and add extensions data
$this->stepTwo();
}
/**
* Create package.
*
* @return \App\Models\Package|null
*/
protected function createPackage(): ?Package
{
/*
* @var Package $package
*/
return Package::create([
'name' => $this->packageName,
'package_id' => $this->packageId,
'version' => $this->packageVersion,
'namespace' => $this->packageFullNamespace,
'type' => $this->packageType,
'active' => $this->packageActive,
]);
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Providers/CoreModuleServiceProvider.php
}
/**
* Load module extensions.
*
* @param string $modulePath
* @param string $moduleName
*
* @return void
*/
protected function loadExtensions(string $modulePath, string $moduleName): void
{
if (
'production' !== app()->environment()
&& Schema::hasTable('packages')
&& Schema::hasTable('packages_extensions')
) {
if ($this->filesystem->exists(c_path([$modulePath, 'Extensions']))) {
PackageFakeInstaller::getInstance()->install([
'packagePath' => $modulePath,
'packageName' => $moduleName,
'packageNamespace' => $moduleName,
'packageId' => null,
'packageVersion' => Package::FIRST_VERSION,
'packageType' => Package::TYPE_CORE,
'packageHasModule' => true,
'packageHasExtension' => true,
]);
}
}
}
/**
* Load extra file with helpers functions, like create product with some variants,
* or create page with languages/multistore etc.
*
* @param string $modulePath
*
* @return void
*/
Arguments
array:8 [
"packagePath" => "/var/www/html/cstore/cstore-team/core7old/src/Core/Modules/Allegro"
"packageName" => "Allegro"
"packageNamespace" => "Allegro"
"packageId" => null
"packageVersion" => "1.0.0"
"packageType" => 1
"packageHasModule" => true
"packageHasExtension" => true
]
/var/www/html/cstore/cstore-team/core7old/src/Core/System/Packages/Providers/CoreModuleServiceProvider.php
*
* @throws \App\Exceptions\Multistore\DefaultLanguageNotFoundException
*
* @return void
*/
public function boot(Filesystem $filesystem): void
{
$this->filesystem = $filesystem;
$this->detectLocale();
$fqcn = $this->getModuleProviderFQCN();
$moduleNamespace = $this->getModuleNamespace($fqcn);
$moduleName = $this->getModuleName($moduleNamespace);
$modulePath = $this->getModulePath($moduleNamespace);
// $this->loadHelpers($modulePath);
$this->loadPublishes($modulePath);
$this->loadExtensions($modulePath, $moduleName);
if ($this->app->runningUnitTests()) {
$this->loadTestHelpers($modulePath);
}
}
/**
* Detect locale from url, that we can use variable $locale in our routes file in packages.
*
* @throws \App\Exceptions\Multistore\DefaultLanguageNotFoundException
*
* @return string Empty if first url segment is not prefix from db
*/
protected function detectLocale(): string
{
if (null !== self::$locale) {
return self::$locale;
}
// make possible to use Artisan before migrations
Arguments
"/var/www/html/cstore/cstore-team/core7old/src/Core/Modules/Allegro"
"Allegro"
/var/www/html/cstore/cstore-team/core7old/src/Core/Modules/Allegro/Providers/AllegroServiceProvider.php
use App\Core\Modules\Allegro\Columns\Templates\NameColumn as NameColumnTemplates;
use App\Core\Modules\Allegro\Columns\Templates\OptionsButtonsColumn as OptionsButtonsColumnTemplates;
use App\Core\Modules\Allegro\Models\AllegroAccount;
use App\Core\Modules\Allegro\Schedulers\DeleteOldLogs;
use App\Core\Modules\Allegro\Schedulers\Offers\DeleteEndedOffers;
use App\Core\Modules\Allegro\Schedulers\Tasks\CheckTasksStatus;
use App\Core\System\Cstore;
use App\Core\System\Packages\Providers\CoreModuleServiceProvider;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Schema;
class AllegroServiceProvider extends CoreModuleServiceProvider
{
/**
* {@inheritdoc}
*/
public function boot(Filesystem $filesystem): void
{
parent::boot($filesystem);
$this->app->booted(function (): void {
/** @var Schedule $schedule */
$schedule = $this->app->make(Schedule::class);
if (Cstore::installed() && Schema::hasTable('migrations') && Schema::hasTable('allegro_accounts')) {
if (AllegroAccount::count() > 0) {
$schedule->call(app(CheckTasksStatus::class))
->everyMinute()
->name('Allegro: Check Allegro tasks status')
->withoutOverlapping(1);
$schedule->call(app(DeleteEndedOffers::class))
->everyMinute()
->name('Allegro: Try delete ended offers')
->withoutOverlapping(9);
}
$schedule->call(new DeleteOldLogs())
->dailyAt('17:00')
Arguments
Illuminate\Filesystem\Filesystem {#274}
/var/www/html/cstore/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
*
* @throws \ReflectionException
* @throws \InvalidArgumentException
*/
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
Illuminate\Filesystem\Filesystem {#274}
/var/www/html/cstore/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
*
* @throws \ReflectionException
* @throws \InvalidArgumentException
*/
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 => App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
1 => "boot"
]
array:1 [
0 => Illuminate\Filesystem\Filesystem {#274}
]
/var/www/html/cstore/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
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
* @param \Illuminate\Container\Container $container
* @param callable|string $callback
* @param array $parameters
* @param string|null $defaultMethod
* @return mixed
*
* @throws \ReflectionException
* @throws \InvalidArgumentException
*/
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
Illuminate\Foundation\Application {#2}
array:2 [
0 => App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
1 => "boot"
]
Closure() {#42 …3}
/var/www/html/cstore/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
Illuminate\Foundation\Application {#2}
array:2 [
0 => App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
1 => "boot"
]
[]
null
/var/www/html/cstore/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 callable $callback
* @return void
*/
public function booting($callback)
{
$this->bootingCallbacks[] = $callback;
}
/**
* Register a new "booted" listener.
*
* @param callable $callback
* @return void
*/
Arguments
array:2 [
0 => App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
1 => "boot"
]
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
}
/**
* Boot the application's service providers.
*
* @return void
*/
public function boot()
{
if ($this->isBooted()) {
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
App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
[internal]
Arguments
App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
56
/var/www/html/cstore/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
/**
* Boot the application's service providers.
*
* @return void
*/
public function boot()
{
if ($this->isBooted()) {
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:201 [
0 => Illuminate\Events\EventServiceProvider {#7}
1 => Illuminate\Log\LogServiceProvider {#9}
2 => Illuminate\Routing\RoutingServiceProvider {#11}
3 => Illuminate\Auth\AuthServiceProvider {#50}
4 => Illuminate\Cookie\CookieServiceProvider {#57}
5 => Illuminate\Database\DatabaseServiceProvider {#59}
6 => Illuminate\Encryption\EncryptionServiceProvider {#66}
7 => Illuminate\Filesystem\FilesystemServiceProvider {#68}
8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#74}
9 => Illuminate\Foundation\Providers\FoundationServiceProvider {#73}
10 => Illuminate\Notifications\NotificationServiceProvider {#77}
11 => Illuminate\Pagination\PaginationServiceProvider {#79}
12 => Illuminate\Session\SessionServiceProvider {#83}
13 => Illuminate\View\ViewServiceProvider {#87}
14 => Anhskohbo\NoCaptcha\NoCaptchaServiceProvider {#91}
15 => Barryvdh\Debugbar\ServiceProvider {#93}
16 => Barryvdh\Elfinder\ElfinderServiceProvider {#97}
17 => BeyondCode\DumpServer\DumpServerServiceProvider {#100}
18 => App\Providers\RedirectResponseServiceProvider {#108}
19 => App\Providers\TelescopeServiceProvider {#109}
20 => App\Providers\HorizonServiceProvider {#111}
21 => App\Providers\FormattersServiceProvider {#112}
22 => App\Providers\HTMLServiceProvider {#113}
23 => App\Providers\TablesServiceProvider {#114}
24 => App\Providers\BladeFormServiceProvider {#115}
25 => App\Providers\Warehouse\WarehouseCenterServiceProvider {#116}
26 => App\Providers\MailTemplates\MailTemplatesServiceProvider {#117}
27 => App\Providers\SyncServiceProvider {#118}
28 => App\Providers\Api\Marketplace\MarketplaceApiAuthBasicServiceProvider {#125}
29 => App\Providers\Api\Marketplace\MarketplaceApiAuthExtendedServiceProvider {#128}
30 => App\Providers\BladeServiceProvider {#131}
31 => App\Providers\Markers\MarkersServiceProvider {#132}
32 => App\Providers\Api\ApiManager\ApiManagerProvider {#133}
33 => App\Core\System\Cache\Providers\CCacheServiceProvider {#134}
34 => App\Core\System\Logs\Providers\LogsServiceProvider {#135}
35 => App\Providers\CustomDebugbarServiceProvider {#136}
36 => App\Core\System\Packages\Providers\BootModulesServiceProvider {#137}
37 => App\Core\Modules\SQLite\Providers\DatabaseServiceProvider {#138}
38 => App\Core\Modules\Options\Providers\OptionsServiceProvider {#139}
39 => App\Core\Modules\Taxes\Providers\TaxServiceProvider {#141}
40 => App\Core\Modules\Taxes\Providers\TaxEventServiceProvider {#142}
41 => App\Core\Modules\Units\Providers\UnitServiceProvider {#143}
42 => App\Core\Modules\Languages\Providers\LanguagesServiceProvider {#144}
43 => App\Core\Modules\Categories\Providers\CategoriesServiceProvider {#13}
44 => App\Core\Modules\Manufacturers\Providers\ManufacturersServiceProvider {#146}
45 => App\Core\Modules\Manufacturers\Packages\SendOrderToManufacturer\Providers\SendOrderToManufacturerServiceProvider {#147}
46 => App\Core\Modules\Manufacturers\Packages\VisibilityForClients\Providers\VisibilityForClientsProvider {#148}
47 => App\Core\Modules\Currencies\Providers\CurrenciesServiceProvider {#149}
48 => App\Core\Modules\Dashboard\Providers\DashboardServiceProvider {#150}
49 => App\Core\Modules\Installer\Providers\InstallerServiceProvider {#151}
50 => App\Core\Modules\Logs\Providers\LogServiceProvider {#152}
51 => App\Core\Modules\Pages\Providers\PagesServiceProvider {#153}
52 => App\Core\Modules\Pages\Packages\Contact\Providers\ContactFormServiceProvider {#154}
53 => App\Core\Modules\StoreHistory\Providers\StoreHistoryServiceProvider {#155}
54 => App\Core\Modules\Translations\Providers\TranslationsAdminServiceProvider {#156}
55 => App\Core\Modules\Admins\Providers\AdminServiceProvider {#157}
56 => App\Core\Modules\Allegro\Providers\AllegroServiceProvider {#158}
57 => App\Core\Modules\API\Providers\APIServiceProvider {#159}
58 => App\Core\Modules\Bars\Providers\BarsServiceProvider {#160}
59 => App\Core\Modules\Blocks\Providers\BlocksServiceProvider {#161}
60 => App\Core\Modules\BlogSystem\Providers\BlogSystemProvider {#162}
61 => App\Core\Modules\ClientGroups\Providers\ClientGroupsServiceProvider {#163}
62 => App\Core\Modules\Clients\Packages\Acceptations\Providers\ClientAcceptationEventsServiceProvider {#164}
63 => App\Core\Modules\Clients\Packages\Acceptations\Providers\ClientAcceptationsServiceProvider {#165}
64 => App\Core\Modules\Clients\Packages\ClientReviews\Providers\ClientReviewsServiceProvider {#166}
65 => App\Core\Modules\Clients\Packages\ForceLoginScreen\Providers\ForceLoginScreenServiceProvider {#170}
66 => App\Core\Modules\Clients\Packages\ForceProductsListOnHomepage\Providers\ForceProductsListOnHomepageServiceProvider {#171}
67 => App\Core\Modules\Clients\Packages\LoginTermsAndConditions\Providers\LoginTermsAndConditionsServiceProvider {#172}
68 => App\Core\Modules\Clients\Providers\ClientsEventsServiceProvider {#173}
69 => App\Core\Modules\Clients\Providers\ClientsMailTemplatesServiceProvider {#174}
70 => App\Core\Modules\Clients\Providers\ClientsServiceProvider {#175}
71 => App\Core\Modules\DataExportCenter\Providers\DataExportCenterServiceProvider {#177}
72 => App\Core\Modules\DataExportCenter\Packages\BaseLinker\Providers\BaseLinkerServiceProvider {#178}
73 => App\Core\Modules\DataExportCenter\Packages\Ceneo\Providers\CeneoProvider {#179}
74 => App\Core\Modules\DataExportCenter\Packages\GoogleMerchantCenter\Providers\GoogleMerchantCenterNavigateProvider {#180}
75 => App\Core\Modules\DataExportCenter\Packages\XmlImporter\Providers\XmlImporterServiceProvider {#181}
76 => App\Core\Modules\DiscountCodes\Providers\DiscountServiceProvider {#182}
77 => App\Core\Modules\InvoicesPDF\Providers\InvoicesPdfServiceProvider {#183}
78 => App\Core\Modules\Newsletter\Packages\FreshMailIntegration\Providers\FreshMailServiceProvider {#184}
79 => App\Core\Modules\Newsletter\Providers\NewsletterServiceProvider {#185}
80 => App\Core\Modules\Options\Packages\Geocoding\Providers\GeocodingServiceProvider {#186}
81 => App\Core\Modules\OrderComments\Providers\OrderCommentsServiceProvider {#188}
82 => App\Core\Modules\Orders\Packages\Guarantee\Providers\GuaranteeServiceProvider {#189}
83 => App\Core\Modules\Orders\Packages\MailThreeDaysAfterOrdering\Providers\MailThreeDaysAfterOrdering {#190}
84 => App\Core\Modules\Orders\Packages\OrderingByClientWhoHasNotPaidInvoices\Providers\OrderingByClientWhoHasNotPaidInvoicesEventsServiceProvider {#191}
85 => App\Core\Modules\Orders\Packages\OrderingByClientWhoHasNotPaidInvoices\Providers\OrderingByClientWhoHasNotPaidInvoicesProvider {#192}
86 => App\Core\Modules\Orders\Packages\OrderRepeat\Providers\OrderRepeatServiceProvider {#193}
87 => App\Core\Modules\Orders\Packages\UploadCartFromCSV\Providers\UploadCartFromCsvServiceProvider {#194}
88 => App\Core\Modules\Orders\Providers\OrdersAdminNavigationServiceProvider {#195}
89 => App\Core\Modules\Orders\Providers\OrdersChartServiceProvider {#196}
90 => App\Core\Modules\Orders\Providers\OrdersEventsServiceProvider {#197}
91 => App\Core\Modules\Orders\Providers\OrdersScriptsServiceProvider {#198}
92 => App\Core\Modules\Orders\Providers\OrdersServiceProvider {#199}
93 => App\Core\Modules\Orders\Providers\ShopcartProvider {#200}
94 => App\Core\Modules\OrderStatuses\Providers\OrderStatusesServiceProvider {#202}
95 => App\Core\Modules\Payments\Providers\CheckSystemPaymentsProvider {#203}
96 => App\Core\Modules\Payments\Providers\PaylanePaymentSystemServiceProvider {#204}
97 => App\Core\Modules\Payments\Providers\PaymentCenterProvider {#206}
98 => App\Core\Modules\Payments\Providers\PaymentsServiceProvider {#208}
99 => App\Core\Modules\Payments\Packages\BlueMedia\Providers\BlueMediaEventsProvider {#209}
100 => App\Core\Modules\Payments\Packages\BlueMedia\Providers\BlueMediaServiceProvider {#210}
101 => App\Core\Modules\Payments\Packages\DotPay\Providers\DotpayEventsProvider {#211}
102 => App\Core\Modules\Payments\Packages\DotPay\Providers\DotpayServiceProvider {#212}
103 => App\Core\Modules\Payments\Packages\EService\Providers\EServiceEventsProvider {#213}
104 => App\Core\Modules\Payments\Packages\EService\Providers\EServiceServiceProvider {#214}
105 => App\Core\Modules\Payments\Packages\Imoje\Providers\imojeEventsProvider {#215}
106 => App\Core\Modules\Payments\Packages\Imoje\Providers\imojeServiceProvider {#216}
107 => App\Core\Modules\Payments\Packages\PaymentTime\Providers\PaymentTimeServiceProvider {#217}
108 => App\Core\Modules\Payments\Packages\PayPal\Providers\PayPalEventServiceProvider {#218}
109 => App\Core\Modules\Payments\Packages\PayPal\Providers\PayPalServiceProvider {#219}
110 => App\Core\Modules\Payments\Packages\PayU\Providers\PayUEventsProvider {#220}
111 => App\Core\Modules\Payments\Packages\PayU\Providers\PayUServiceProvider {#221}
112 => App\Core\Modules\Payments\Packages\Przelewy24\Providers\Przelewy24EventsProvider {#222}
113 => App\Core\Modules\Payments\Packages\Przelewy24\Providers\Przelewy24ServiceProvider {#223}
114 => App\Core\Modules\Payments\Packages\TPay\Providers\TPayEventServiceProvider {#224}
115 => App\Core\Modules\Payments\Packages\TPay\Providers\TPayServiceProvider {#225}
116 => App\Core\Modules\Permissions\Providers\GroupsServiceProvider {#226}
117 => App\Core\Modules\Products\Packages\Auctions\Providers\AuctionsServiceProvider {#227}
118 => App\Core\Modules\Products\Packages\ProductQuestions\Providers\ProductQuestionProvider {#228}
119 => App\Core\Modules\Products\Packages\ProductsRecommended\Providers\ProductsRecommendedServiceProvider {#229}
120 => App\Core\Modules\Products\Packages\ProductsRecommendedShopcart\Providers\ProductsRecommendedShopcartServiceProvider {#230}
121 => App\Core\Modules\Products\Packages\ProductURLMapping\Providers\ProductURLMappingServiceProvider {#231}
122 => App\Core\Modules\Products\Packages\RatingAcceptation\Providers\RatingAcceptationsServiceProvider {#232}
123 => App\Core\Modules\Products\Packages\SearchProductOrderByPopularity\Providers\SearchProductOrderByPopularityServiceProvider {#233}
124 => App\Core\Modules\Products\Packages\VisibilityOfProductsForClients\Providers\VisibilityOfProductsForClientsProvider {#234}
125 => App\Core\Modules\Products\Providers\ProductFlagsCronProvider {#235}
126 => App\Core\Modules\Products\Providers\ProductPriceCalculatedCronProvider {#236}
127 => App\Core\Modules\Products\Providers\ProductsAPIProvider {#237}
128 => App\Core\Modules\Products\Providers\ProductsEventsServiceProvider {#238}
129 => App\Core\Modules\Products\Providers\ProductsServiceProvider {#239}
130 => App\Core\Modules\ScriptsManage\Providers\ScriptsManageServiceProvider {#240}
131 => App\Core\Modules\SEO\Providers\SEOServiceProvider {#241}
132 => App\Core\Modules\Shipments\Providers\ShipmentsEventsServiceProvider {#242}
133 => App\Core\Modules\Shipments\Providers\ShipmentsServiceProvider {#243}
134 => App\Core\Modules\Shipments\Providers\SystemShipmentCenterProvider {#244}
135 => App\Core\Modules\ShipmentBliskaPaczka\Providers\BliskaPaczkaCourierProvider {#245}
136 => App\Core\Modules\ShipmentBliskaPaczka\Providers\BliskaPaczkaPointProvider {#246}
137 => App\Core\Modules\ShipmentBliskaPaczka\Providers\BliskaPaczkaServiceProvider {#247}
138 => App\Core\Modules\ShipmentPackages\Providers\ShipmentPackagesServiceProvider {#248}
139 => App\Core\Modules\Shipments\Packages\DHL\Providers\DHLEventsProvider {#249}
140 => App\Core\Modules\Shipments\Packages\DHL\Providers\DHLServiceProvider {#250}
141 => App\Core\Modules\Shipments\Packages\DPD\Providers\DPDEventsProvider {#251}
142 => App\Core\Modules\Shipments\Packages\DPD\Providers\DPDProvider {#252}
143 => App\Core\Modules\Shipments\Packages\DropShipping\Providers\DropShippingServiceProvider {#253}
144 => App\Core\Modules\Shipments\Packages\ENadawca\Providers\ENadawcaEventsProvider {#254}
145 => App\Core\Modules\Shipments\Packages\ENadawca\Providers\ENadawcaProvider {#255}
146 => App\Core\Modules\Shipments\Packages\GLS\Providers\GLSEventsProvider {#256}
147 => App\Core\Modules\Shipments\Packages\GLS\Providers\GLSProvider {#257}
148 => App\Core\Modules\Shipments\Packages\OrdersStickers\Providers\OrdersStickersProvider {#258}
149 => App\Core\Modules\Shipments\Packages\Paczkomaty\Providers\PaczkomatyEventsProvider {#259}
150 => App\Core\Modules\Shipments\Packages\Paczkomaty\Providers\PaczkomatyServiceProvider {#260}
151 => App\Core\Modules\Shipments\Packages\UPS\Providers\UPSEventsProvider {#261}
152 => App\Core\Modules\Shipments\Packages\UPS\Providers\UPSProvider {#262}
153 => App\Core\Modules\ShipmentsDistances\Providers\ShipmentsDistancesServiceProvider {#263}
154 => App\Core\Modules\ShipmentsPoints\Providers\ShipmentsPointsServiceProvider {#264}
155 => App\Core\Modules\Sitemap\Providers\SitemapServiceProvider {#265}
156 => App\Core\Modules\Templates\Packages\Slider\Providers\SliderServiceProvider {#266}
157 => App\Core\Modules\Templates\Providers\TemplateServiceProvider {#267}
158 => App\Core\System\Packages\Providers\EnableSystemExtensionsServiceProvider {#268}
159 => App\Core\System\Packages\Providers\NonCoreModuleServiceProvider {#269}
160 => App\Core\Modules\Options\Packages\RegExpURLMapping\Providers\RegExpURLMappingServiceProvider {#270}
161 => Nathanmac\Utilities\Parser\ParserServiceProvider {#271}
162 => CStoreTeam\Core7x\Providers\Core7xPackageServiceProvider {#273}
163 => CStoreTeam\Core7x\Providers\ViewServiceProvider {#301}
164 => CStoreTeam\Core7x\Providers\MailTemplatesServiceProviders {#303}
165 => CStoreTeam\Core7x\AdminPanel\Providers\AdminPanelPackageServiceProvider {#304}
166 => CStoreTeam\Core7x\AdminPanel\Providers\ViewServiceProvider {#311}
167 => CStoreTeam\Core7x\AdminPanel\Providers\ComposerServiceProvider {#312}
168 => CStoreTeam\Core7x\AdminPanel\Providers\CStackServiceProvider {#313}
169 => CStoreTeam\Core7x\AdminPanel\Providers\SidebarMenuServiceProvider {#314}
170 => CStoreTeam\Core7x\API\Providers\APIPackageServiceProvider {#315}
171 => CStoreTeam\Core7x\DefaultTemplate\Providers\DefaultTemplatePackageServiceProvider {#316}
172 => CStoreTeam\Core7x\DefaultTemplate\Providers\ViewServiceProvider {#317}
173 => CStoreTeam\Core7x\DefaultTemplate\Providers\ComposerServiceProvider {#318}
174 => CStoreTeam\Core7x\DefaultTemplate\Providers\CStackServiceProvider {#319}
175 => CStoreTeam\Core7x\FrontPanel\Providers\FrontPanelPackageServiceProvider {#320}
176 => Fideloper\Proxy\TrustedProxyServiceProvider {#321}
177 => GeneaLabs\LaravelModelCaching\Providers\Service {#322}
178 => Intervention\Image\ImageServiceProvider {#324}
179 => Laravel\Horizon\HorizonServiceProvider {#327}
180 => Laravel\Telescope\TelescopeServiceProvider {#344}
181 => Maatwebsite\Excel\ExcelServiceProvider {#349}
182 => Carbon\Laravel\ServiceProvider {#361}
183 => NunoMaduro\Larastan\LarastanServiceProvider {#362}
184 => Sentry\Laravel\ServiceProvider {#363}
185 => Spatie\Permission\PermissionServiceProvider {#365}
186 => Spatie\Sitemap\SitemapServiceProvider {#369}
187 => Geocoder\Laravel\Providers\GeocoderService {#370}
188 => willvincent\Rateable\RateableServiceProvider {#373}
189 => Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider {#375}
190 => App\Providers\AppServiceProvider {#374}
191 => App\Providers\AuthServiceProvider {#386}
192 => App\Providers\RouteServiceProvider {#387}
193 => App\Modules\CStore\ModCurrencies\Providers\ModCurrenciesProvider {#388}
194 => App\Modules\CStore\RaksSQL\Providers\FirebirdServiceProvider {#389}
195 => App\Modules\CStore\RaksSQL\Providers\RaksSQLServiceProvider {#393}
196 => Illuminate\Validation\ValidationServiceProvider {#404}
197 => App\Core\Modules\Translations\Providers\TranslationsServiceProvider {#408}
198 => Collective\Html\HtmlServiceProvider {#416}
199 => Illuminate\Cache\CacheServiceProvider {#542}
200 => Illuminate\Hashing\HashServiceProvider {#639}
]
Closure($p) {#44 …4}
/var/www/html/cstore/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();
}
}
/var/www/html/cstore/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 string[] $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
Illuminate\Foundation\Application {#2}
/var/www/html/cstore/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 => "App\Core\Bootstrap\RegisterProviders"
5 => "Illuminate\Foundation\Bootstrap\BootProviders"
]
/var/www/html/cstore/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());
}
}
/**
/var/www/html/cstore/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: "/p/324/plastelina-z-brokatem-zlota-i-srebrna-kolory-6-szt"
#baseUrl: ""
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
pathInfo: "/p/324/plastelina-z-brokatem-zlota-i-srebrna-kolory-6-szt"
basePath: ""
method: "GET"
format: "html"
}
/var/www/html/cstore/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
Illuminate\Http\Request {#43
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
+request: Symfony\Component\HttpFoundation\ParameterBag {#51}
+query: Symfony\Component\HttpFoundation\ParameterBag {#51}
+server: Symfony\Component\HttpFoundation\ServerBag {#47}
+files: Symfony\Component\HttpFoundation\FileBag {#48}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: "/p/324/plastelina-z-brokatem-zlota-i-srebrna-kolory-6-szt"
#baseUrl: ""
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
pathInfo: "/p/324/plastelina-z-brokatem-zlota-i-srebrna-kolory-6-szt"
basePath: ""
method: "GET"
format: "html"
}