/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
*
* @param string $path
* @return string
*/
public function hash($path)
{
return md5_file($path);
}
/**
* Write the contents of a file.
*
* @param string $path
* @param string $contents
* @param bool $lock
* @return int|bool
*/
public function put($path, $contents, $lock = false)
{
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
Arguments
"file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php) (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php) (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
ErrorException {#2780
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php) (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
-previous: ErrorException {#2761
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
-previous: ErrorException {#2810
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
#severity: E_WARNING
}
#severity: E_ERROR
}
#severity: E_ERROR
}
0
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
*
* @param string $path
* @return string
*/
public function hash($path)
{
return md5_file($path);
}
/**
* Write the contents of a file.
*
* @param string $path
* @param string $contents
* @param bool $lock
* @return int|bool
*/
public function put($path, $contents, $lock = false)
{
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
Arguments
"file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php) (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
ErrorException {#2761
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
-previous: ErrorException {#2810
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
#severity: E_WARNING
}
#severity: E_ERROR
}
1
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
*
* @param string $path
* @return string
*/
public function hash($path)
{
return md5_file($path);
}
/**
* Write the contents of a file.
*
* @param string $path
* @param string $contents
* @param bool $lock
* @return int|bool
*/
public function put($path, $contents, $lock = false)
{
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
Arguments
"file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory (View: /home/tunisiamirror/public_html/platform/packages/menu/resources/views/partials/default.blade.php)"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
ErrorException {#2810
#message: "file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory"
#code: 0
#file: "/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 135
#severity: E_WARNING
}
2
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
*
* @param string $path
* @return string
*/
public function hash($path)
{
return md5_file($path);
}
/**
* Write the contents of a file.
*
* @param string $path
* @param string $contents
* @param bool $lock
* @return int|bool
*/
public function put($path, $contents, $lock = false)
{
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
Arguments
"file_put_contents(/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8): failed to open stream: No such file or directory"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
*
* @param string $path
* @return string
*/
public function hash($path)
{
return md5_file($path);
}
/**
* Write the contents of a file.
*
* @param string $path
* @param string $contents
* @param bool $lock
* @return int|bool
*/
public function put($path, $contents, $lock = false)
{
return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
Arguments
"/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8"
"1695984682a:2:{s:4:"menu";O:23:"Botble\Menu\Models\Menu":27:{s:8:"\x00*\x00table";s:5:"menus";s:11:"\x00*\x00fillable";a:3:{i:0;s:4:"name";i:1;s:4:"slug";i:2;s:6:"status";}s:8:"\x00*\x00casts";a:1:{s:6:"status";s:32:"Botble\Base\Enums\BaseStatusEnum";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:2:{s:2:"id";i:11;s:4:"slug";s:7:"alryysy";}s:11:"\x00*\x00original";a:2:{s:2:"id";i:11;s:4:"slug";s:7:"alryysy";}s:10:"\x00*\x00changes";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}s:10:"menu_nodes";O:39:"Illuminate\Database\Eloquent\Collection":1:{s:8:"\x00*\x00items";a:4:{i:0;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:645;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:21;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:0;s:5:"title";s:8:"تونس";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:645;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:21;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:0;s:5:"title";s:8:"تونس";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:1;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:646;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:33;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:1;s:5:"title";s:25:"المغرب العربي";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:646;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:33;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:1;s:5:"title";s:25:"المغرب العربي";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:2;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:647;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:30;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:2;s:5:"title";s:23:"الشرق الأوسط";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:647;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:30;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:2;s:5:"title";s:23:"الشرق الأوسط";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:3;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:648;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:29;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:3;s:5:"title";s:12:"العالم";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:648;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:29;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:3;s:5:"title";s:12:"العالم";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}}}}"
2
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php
*/
public function get($key)
{
return $this->getPayload($key)['data'] ?? null;
}
/**
* Store an item in the cache for a given number of seconds.
*
* @param string $key
* @param mixed $value
* @param int $seconds
* @return bool
*/
public function put($key, $value, $seconds)
{
$this->ensureCacheDirectoryExists($path = $this->path($key));
$result = $this->files->put(
$path, $this->expiration($seconds).serialize($value), true
);
if ($result !== false && $result > 0) {
$this->ensureFileHasCorrectPermissions($path);
return true;
}
return false;
}
/**
* Create the file cache directory if necessary.
*
* @param string $path
* @return void
*/
protected function ensureCacheDirectoryExists($path)
{
if (! $this->files->exists(dirname($path))) {
Arguments
"/home/tunisiamirror/public_html/storage/framework/cache/data/7f/0f/7f0f4952e39bb50b6f34e4d7fc746df08305fca8"
"1695984682a:2:{s:4:"menu";O:23:"Botble\Menu\Models\Menu":27:{s:8:"\x00*\x00table";s:5:"menus";s:11:"\x00*\x00fillable";a:3:{i:0;s:4:"name";i:1;s:4:"slug";i:2;s:6:"status";}s:8:"\x00*\x00casts";a:1:{s:6:"status";s:32:"Botble\Base\Enums\BaseStatusEnum";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:2:{s:2:"id";i:11;s:4:"slug";s:7:"alryysy";}s:11:"\x00*\x00original";a:2:{s:2:"id";i:11;s:4:"slug";s:7:"alryysy";}s:10:"\x00*\x00changes";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}s:10:"menu_nodes";O:39:"Illuminate\Database\Eloquent\Collection":1:{s:8:"\x00*\x00items";a:4:{i:0;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:645;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:21;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:0;s:5:"title";s:8:"تونس";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:645;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:21;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:0;s:5:"title";s:8:"تونس";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:1;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:646;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:33;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:1;s:5:"title";s:25:"المغرب العربي";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:646;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:33;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:1;s:5:"title";s:25:"المغرب العربي";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:2;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:647;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:30;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:2;s:5:"title";s:23:"الشرق الأوسط";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:647;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:30;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:2;s:5:"title";s:23:"الشرق الأوسط";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-20 15:20:41";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}i:3;O:27:"Botble\Menu\Models\MenuNode":27:{s:8:"\x00*\x00table";s:10:"menu_nodes";s:11:"\x00*\x00fillable";a:10:{i:0;s:7:"menu_id";i:1;s:9:"parent_id";i:2;s:12:"reference_id";i:3;s:14:"reference_type";i:4;s:3:"url";i:5;s:9:"icon_font";i:6;s:5:"title";i:7;s:9:"css_class";i:8;s:6:"target";i:9;s:9:"has_child";}s:13:"\x00*\x00connection";s:5:"mysql";s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:14:{s:2:"id";i:648;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:29;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:3;s:5:"title";s:12:"العالم";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:11:"\x00*\x00original";a:14:{s:2:"id";i:648;s:7:"menu_id";i:11;s:9:"parent_id";i:673;s:12:"reference_id";i:29;s:14:"reference_type";s:27:"Botble\Blog\Models\Category";s:3:"url";N;s:9:"icon_font";s:0:"";s:8:"position";i:3;s:5:"title";s:12:"العالم";s:9:"css_class";s:0:"";s:6:"target";s:5:"_self";s:9:"has_child";i:0;s:10:"created_at";s:19:"2021-07-13 20:59:05";s:10:"updated_at";s:19:"2021-09-09 04:11:51";}s:10:"\x00*\x00changes";a:0:{}s:8:"\x00*\x00casts";a:0:{}s:17:"\x00*\x00classCastCache";a:0:{}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:10:"\x00*\x00appends";a:0:{}s:19:"\x00*\x00dispatchesEvents";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"timestamps";b:1;s:9:"\x00*\x00hidden";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}}}}}"
true
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Cache/Repository.php
* @param \DateTimeInterface|\DateInterval|int|null $ttl
* @return bool
*/
public function put($key, $value, $ttl = null)
{
if (is_array($key)) {
return $this->putMany($key, $value);
}
if ($ttl === null) {
return $this->forever($key, $value);
}
$seconds = $this->getSeconds($ttl);
if ($seconds <= 0) {
return $this->forget($key);
}
$result = $this->store->put($this->itemKey($key), $value, $seconds);
if ($result) {
$this->event(new KeyWritten($key, $value, $seconds));
}
return $result;
}
/**
* {@inheritdoc}
*/
public function set($key, $value, $ttl = null)
{
return $this->put($key, $value, $ttl);
}
/**
* Store multiple items in the cache for a given number of seconds.
*
* @param array $values
Arguments
"da09e42dd49829df8cccfddcfdc90983e643512a2fb1407433966f88044e96a7"
array:2 [
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
3600
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php
* @param \Closure $callback
* @return $this
*/
public function extend($driver, Closure $callback)
{
$this->customCreators[$driver] = $callback->bindTo($this, $this);
return $this;
}
/**
* Dynamically call the default driver instance.
*
* @param string $method
* @param array $parameters
* @return mixed
*/
public function __call($method, $parameters)
{
return $this->store()->$method(...$parameters);
}
}
Arguments
"da09e42dd49829df8cccfddcfdc90983e643512a2fb1407433966f88044e96a7"
array:2 [
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
3600
/home/tunisiamirror/public_html/vendor/botble/platform/support/src/Services/Cache/Cache.php
/**
* Add data to the cache.
*
* @param string $key Cache item key
* @param mixed $value The data to store
* @param boolean $minutes The number of minutes to store the item
* @return bool
* @throws FileNotFoundException
*/
public function put($key, $value, $minutes = false)
{
if (!$minutes) {
$minutes = $this->config['cache_time'];
}
$key = $this->generateCacheKey($key);
$this->storeCacheKey($key);
$this->cache->put($key, $value, $minutes);
return true;
}
/**
* Store cache key to file
*
* @param string $key
* @return bool
* @throws FileNotFoundException
*/
public function storeCacheKey($key)
{
if (file_exists($this->config['stored_keys'])) {
$cacheKeys = get_file_data($this->config['stored_keys']);
if (!empty($cacheKeys) && !in_array($key, Arr::get($cacheKeys, $this->cacheGroup, []))) {
$cacheKeys[$this->cacheGroup][] = $key;
}
} else {
$cacheKeys = [];
Arguments
"put"
array:3 [
0 => "da09e42dd49829df8cccfddcfdc90983e643512a2fb1407433966f88044e96a7"
1 => array:2 [
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
2 => 3600
]
/home/tunisiamirror/public_html/vendor/botble/menu/src/Menu.php
'menu_nodes.parent_id',
'menu_nodes.reference_id',
'menu_nodes.reference_type',
'menu_nodes.icon_font',
'menu_nodes.css_class',
'menu_nodes.target',
'menu_nodes.url',
'menu_nodes.title',
'menu_nodes.has_child',
]);
} else {
$menuNodes = Arr::get($args, 'menu_nodes', []);
}
$data = [
'menu' => $menu,
'menu_nodes' => $menuNodes,
];
$this->cache->put($cacheKey, $data);
$this->nodes[$slug] = $data;
} else {
$data = $this->cache->get($cacheKey);
}
$data['options'] = $this->html->attributes(Arr::get($args, 'options', []));
if ($theme && $view) {
return Theme::partial($view, $data);
}
if ($view) {
return view($view, $data)->render();
}
return view('packages/menu::partials.default', $data)->render();
}
/**
* @param string $model
Arguments
"da09e42dd49829df8cccfddcfdc90983e643512a2fb1407433966f88044e96a7"
array:2 [
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
}
/**
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
* @return mixed
*
* @throws \RuntimeException
*/
public static function __callStatic($method, $args)
{
$instance = static::getFacadeRoot();
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
Arguments
array:3 [
"menu" => Botble\Menu\Models\Menu {#2799}
"options" => array:1 [
"class" => "sub-menu"
]
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
/home/tunisiamirror/public_html/storage/framework/views/9facb9856952fd1f39a9e5e1d8e08088a8a45663.php
<ul <?php echo $options; ?>>
<?php $__currentLoopData = $menu_nodes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li <?php if($row->has_child): ?> class="has-dropdown" <?php endif; ?> <?php if($row->css_class || $row->active): ?> class="<?php if($row->css_class): ?> <?php echo e($row->css_class); ?> <?php endif; ?> <?php if($row->active): ?> current <?php endif; ?>" <?php endif; ?>>
<a href="<?php echo e(url($row->url)); ?>" <?php if($row->target !== '_self'): ?> target="<?php echo e($row->target); ?>" <?php endif; ?>>
<?php if($row->icon_font): ?> <i class="<?php echo e(trim($row->icon_font)); ?>"></i> <?php endif; ?> <span><?php echo e($row->title); ?></span>
</a>
<?php if($row->has_child): ?>
<?php echo Menu::generateMenu([
'menu' => $menu,
'options' => ['class' => 'sub-menu'],
'menu_nodes' => $row->child
]); ?>
<?php endif; ?>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php /**PATH /home/tunisiamirror/public_html/platform/packages/menu/resources/views//partials/default.blade.php ENDPATH**/ ?>
Arguments
"generateMenu"
array:1 [
0 => array:3 [
"menu" => Botble\Menu\Models\Menu {#2799}
"options" => array:1 [
"class" => "sub-menu"
]
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2804}
]
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/9facb9856952fd1f39a9e5e1d8e08088a8a45663.php"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/9facb9856952fd1f39a9e5e1d8e08088a8a45663.php"
array:6 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2818}
"options" => ""
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/home/tunisiamirror/public_html/platform/packages/menu/resources/views//partials/default.blade.php"
array:6 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
"menu" => Botble\Menu\Models\Menu {#2799}
"menu_nodes" => Illuminate\Database\Eloquent\Collection {#2818}
"options" => ""
]
/home/tunisiamirror/public_html/vendor/botble/shortcode/src/View/View.php
{
$this->shortcode->setStrip(true);
return $this;
}
/**
* Get the contents of the view instance.
*
* @return string
* @since 2.1
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
// compile the shortcodes
$contents = $this->shortcode->compile($contents);
}
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/tunisiamirror/public_html/vendor/botble/menu/src/Menu.php
'menu_nodes' => $menuNodes,
];
$this->cache->put($cacheKey, $data);
$this->nodes[$slug] = $data;
} else {
$data = $this->cache->get($cacheKey);
}
$data['options'] = $this->html->attributes(Arr::get($args, 'options', []));
if ($theme && $view) {
return Theme::partial($view, $data);
}
if ($view) {
return view($view, $data)->render();
}
return view('packages/menu::partials.default', $data)->render();
}
/**
* @param string $model
* @param string $name
* @throws FileNotFoundException
* @throws Throwable
*/
public function registerMenuOptions(string $model, string $name)
{
$options = Menu::generateSelect([
'model' => new $model,
'type' => $model,
'theme' => false,
'options' => [
'class' => 'list-item',
],
]);
echo view('packages/menu::menu-options', compact('options', 'name'));
/home/tunisiamirror/public_html/vendor/botble/menu/src/Menu.php
config()->set('packages.menu.general.locations', $locations);
return $this;
}
/**
* @param string $location
* @param array $attributes
* @return string
* @throws Throwable
*/
public function renderMenuLocation(string $location, array $attributes = []): string
{
$html = '';
$locations = $this->menuLocationRepository->allBy(compact('location'));
foreach ($locations as $location) {
$attributes['slug'] = $location->menu->slug;
$html .= $this->generateMenu($attributes);
}
return $html;
}
/**
* @param array $args
* @return mixed|null|string
* @throws Throwable
*/
public function generateMenu(array $args = [])
{
$view = Arr::get($args, 'view');
$theme = Arr::get($args, 'theme', true);
$menu = Arr::get($args, 'menu');
$slug = Arr::get($args, 'slug');
if (!$menu && !$slug) {
return null;
Arguments
array:3 [
"options" => []
"theme" => true
"slug" => "alryysy"
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
}
/**
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
* @return mixed
*
* @throws \RuntimeException
*/
public static function __callStatic($method, $args)
{
$instance = static::getFacadeRoot();
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
Arguments
Botble\Menu\Models\MenuLocation {#2983}
array:3 [
"options" => []
"theme" => true
"slug" => "alryysy"
]
/home/tunisiamirror/public_html/storage/framework/views/48266a14120cd1d28e32c02a6dbf27b7b94658a4.php
<!-- Header Search Form -->
<div class="header-search-form">
<form class="navbar-form navbar-right" role="search" accept-charset="UTF-8" action="<?php echo e(route('public.search')); ?>" method="GET">
<div class="tn-searchtop">
<div class="form-group">
<input type="text" class="form-control" placeholder="<?php echo e(__('البحث...')); ?>" name="q">
</div>
</div>
<button id="tn-searchtop" class="js-btn-searchtop" type="button"><i class="fa fa-search"></i>
</button>
</form>
</div>
</div>
<!-- Mobile Menu Wrap -->
<div class="mobile-menu-wrap d-none">
<?php echo Menu::renderMenuLocation('main-menu', [ //
'options' => [],
'theme' => true,
]); ?>
</div>
<!-- Mobile Menu -->
<div class="mobile-menu"></div>
</div>
</div>
</div>
</div>
</div><!-- Menu Section End -->
<!-- Breaking News Section Start -->
<div class="breaking-news-section section">
<div class="container">
<div class="row">
<div class="col-12">
Arguments
"renderMenuLocation"
array:2 [
0 => "main-menu"
1 => array:2 [
"options" => []
"theme" => true
]
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/48266a14120cd1d28e32c02a6dbf27b7b94658a4.php"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/48266a14120cd1d28e32c02a6dbf27b7b94658a4.php"
array:3 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/home/tunisiamirror/public_html/platform/themes/newstv/partials/header.blade.php"
array:3 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
]
/home/tunisiamirror/public_html/vendor/botble/shortcode/src/View/View.php
{
$this->shortcode->setStrip(true);
return $this;
}
/**
* Get the contents of the view instance.
*
* @return string
* @since 2.1
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
// compile the shortcodes
$contents = $this->shortcode->compile($contents);
}
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/tunisiamirror/public_html/vendor/botble/theme/src/Theme.php
}
/**
* Load a partial
*
* @param string $view
* @param string $partialDir
* @param array $args
* @return mixed
* @throws UnknownPartialFileException
*/
public function loadPartial(string $view, string $partialDir, array $args)
{
$path = $partialDir . '.' . $view;
if (!$this->view->exists($path)) {
throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
}
$partial = $this->view->make($path, $args)->render();
$this->regions[$view] = $partial;
return $this->regions[$view];
}
/**
* Watch and set up a partial from anywhere.
*
* This method will first try to load the partial from current theme. If partial
* is not found in theme then it loads it from app (i.e. app/views/partials)
*
* @param string $view
* @param array $args
* @return mixed
* @throws UnknownPartialFileException
* @throws FileNotFoundException
*/
public function watchPartial(string $view, array $args = [])
{
try {
/home/tunisiamirror/public_html/vendor/botble/theme/src/Theme.php
*/
public function getLayoutName()
{
return $this->layout;
}
/**
* Set up a partial.
*
* @param string $view
* @param array $args
* @return mixed
* @throws UnknownPartialFileException
* @throws FileNotFoundException
*/
public function partial(string $view, array $args = [])
{
$partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
return $this->loadPartial($view, $partialDir, $args);
}
/**
* Load a partial
*
* @param string $view
* @param string $partialDir
* @param array $args
* @return mixed
* @throws UnknownPartialFileException
*/
public function loadPartial(string $view, string $partialDir, array $args)
{
$path = $partialDir . '.' . $view;
if (!$this->view->exists($path)) {
throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
}
$partial = $this->view->make($path, $args)->render();
Arguments
"header"
"theme.newstv::partials"
[]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
}
/**
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
* @return mixed
*
* @throws \RuntimeException
*/
public static function __callStatic($method, $args)
{
$instance = static::getFacadeRoot();
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
Arguments
/home/tunisiamirror/public_html/storage/framework/views/28e961eccfc5a3869b4f11ee553d7597f1acdce9.php
<?php echo Theme::partial('header'); ?>
<main class="main" id="main">
<div class="container">
<div class="main-content">
<div class="main-left">
<?php echo Theme::content(); ?>
</div>
<?php echo Theme::partial('sidebar'); ?>
</div>
</div>
</main>
<?php echo Theme::partial('footer'); ?>
<?php /**PATH /home/tunisiamirror/public_html/platform/themes/newstv/layouts/default.blade.php ENDPATH**/ ?>
Arguments
"partial"
array:1 [
0 => "header"
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatePath($__path, $__data)
{
$obLevel = ob_get_level();
ob_start();
extract($__data, EXTR_SKIP);
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
include $__path;
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/28e961eccfc5a3869b4f11ee553d7597f1acdce9.php"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/tunisiamirror/public_html/storage/framework/views/28e961eccfc5a3869b4f11ee553d7597f1acdce9.php"
array:3 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/home/tunisiamirror/public_html/platform/themes/newstv/layouts/default.blade.php"
array:3 [
"__env" => Botble\Shortcode\View\Factory {#265}
"app" => Illuminate\Foundation\Application {#6}
"errors" => Illuminate\Support\ViewErrorBag {#2130}
]
/home/tunisiamirror/public_html/vendor/botble/shortcode/src/View/View.php
{
$this->shortcode->setStrip(true);
return $this;
}
/**
* Get the contents of the view instance.
*
* @return string
* @since 2.1
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
// compile the shortcodes
$contents = $this->shortcode->compile($contents);
}
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/home/tunisiamirror/public_html/vendor/botble/theme/src/Theme.php
* @throws FileNotFoundException
*/
public function render($statusCode = 200)
{
// Fire the event before render.
$this->fire('after', $this);
// Flush asset that need to serve.
$this->asset->flush();
// Layout directory.
$layoutDir = $this->getConfig('containerDir.layout');
$path = $this->getThemeNamespace($layoutDir . '.' . $this->layout);
if (!$this->view->exists($path)) {
$this->handleViewNotFound($path);
}
$content = $this->view->make($path)->render();
// Append status code to view.
$content = new Response($content, $statusCode);
// Having cookie set.
if ($this->cookie) {
$content->withCookie($this->cookie);
}
$content->withHeaders([
'Author' => 'Botble Technologies (contact@botble.com)',
'Author-Team' => 'https://botble.com',
'CMS' => 'Botble CMS',
'CMS-Version' => get_cms_version(),
'Authorization-At' => setting('membership_authorization_at'),
'Activated-License' => !empty(setting('licensed_to')) ? 'Yes' : 'No',
]);
return $content;
}
/home/tunisiamirror/public_html/vendor/botble/theme/src/Http/Controllers/PublicController.php
'prefix' => SlugHelper::getPrefix(Post::class),
])->where( 'reference_type','like',"%Post%")->first();
// dd($slug);
if (!$slug) {
abort(404);
}
}
}
$result = apply_filters(BASE_FILTER_PUBLIC_SINGLE_DATA, $slug);
//dd($slug);
// if (isset($result['slug']) && $result['slug'] !== $key) {
// return $response->setNextUrl(route('public.single', $result['slug']));
// }
event(new RenderingSingleEvent($slug));
if (!empty($result) && is_array($result)) {
return Theme::scope($result['view'], $result['data'], Arr::get($result, 'default_view'))->render();
}
abort(404);
}
/**
* @return string
*/
public function getSiteMap()
{
event(RenderingSiteMapEvent::class);
// show your site map (options: 'xml' (default), 'html', 'txt', 'ror-rss', 'ror-rdf')
return SiteMapManager::render('xml');
}
}
/home/tunisiamirror/public_html/platform/themes/newstv/src/Http/Controllers/NewsTvController.php
/**
* {@inheritDoc}
*/
public function getIndex(BaseHttpResponse $response)
{
return parent::getIndex($response);
}
public function testIndex(BaseHttpResponse $response)
{
return Theme::scope('test')->render();
}
/**
* {@inheritDoc}
*/
public function getView(BaseHttpResponse $response, $key = null)
{
return parent::getView($response, $key);
}
/**
* {@inheritDoc}
*/
public function getSiteMap()
{
return parent::getSiteMap();
}
}
Arguments
Botble\Base\Http\Responses\BaseHttpResponse {#2145}
"اكتشاف-أكبر-فوهة-نيزك-في-الشرق-الأوسط-في-سلطنة-عمان"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
Botble\Base\Http\Responses\BaseHttpResponse {#2145}
"اكتشاف-أكبر-فوهة-نيزك-في-الشرق-الأوسط-في-سلطنة-عمان"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array([$this, $method], $parameters);
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
array:2 [
0 => Theme\NewsTv\Http\Controllers\NewsTvController {#2105}
1 => "getView"
]
array:2 [
0 => Botble\Base\Http\Responses\BaseHttpResponse {#2145}
"slug" => "اكتشاف-أكبر-فوهة-نيزك-في-الشرق-الأوسط-في-سلطنة-عمان"
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
{
$this->container = $container;
}
/**
* Dispatch a request to a given controller and method.
*
* @param \Illuminate\Routing\Route $route
* @param mixed $controller
* @param string $method
* @return mixed
*/
public function dispatch(Route $route, $controller, $method)
{
$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(), $controller, $method
);
if (method_exists($controller, 'callAction')) {
return $controller->callAction($method, $parameters);
}
return $controller->{$method}(...array_values($parameters));
}
/**
* Get the middleware for the controller instance.
*
* @param \Illuminate\Routing\Controller $controller
* @param string $method
* @return array
*/
public function getMiddleware($controller, $method)
{
if (! method_exists($controller, 'getMiddleware')) {
return [];
}
return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
return static::methodExcludedByOptions($method, $data['options']);
Arguments
"getView"
array:2 [
0 => Botble\Base\Http\Responses\BaseHttpResponse {#2145}
"slug" => "اكتشاف-أكبر-فوهة-نيزك-في-الشرق-الأوسط-في-سلطنة-عمان"
]
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
protected function runCallable()
{
$callable = $this->action['uses'];
return $callable(...array_values($this->resolveMethodDependencies(
$this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
)));
}
/**
* Run the route action and return the response.
*
* @return mixed
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
protected function runController()
{
return $this->controllerDispatcher()->dispatch(
$this, $this->getController(), $this->getControllerMethod()
);
}
/**
* Get the controller instance for the route.
*
* @return mixed
*/
public function getController()
{
if (! $this->controller) {
$class = $this->parseControllerCallback()[0];
$this->controller = $this->container->make(ltrim($class, '\\'));
}
return $this->controller;
}
/**
Arguments
Illuminate\Routing\Route {#1875}
Theme\NewsTv\Http\Controllers\NewsTvController {#2105}
"getView"
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*
* @throws \UnexpectedValueException
*/
protected function parseAction($action)
{
return RouteAction::parse($this->uri, $action);
}
/**
* Run the route action and return the response.
*
* @return mixed
*/
public function run()
{
$this->container = $this->container ?: new Container;
try {
if ($this->isControllerAction()) {
return $this->runController();
}
return $this->runCallable();
} catch (HttpResponseException $e) {
return $e->getResponse();
}
}
/**
* Checks whether the route's action is a controller.
*
* @return bool
*/
protected function isControllerAction()
{
return is_string($this->action['uses']);
}
/**
* Run the route action and return the response.
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
return in_array($name, $excluded, true);
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/platform/plugins/language/src/Http/Middleware/LocalizationRedirectFilter.php
if ($localeCode === $defaultLocale && $hideDefaultLocale) {
$redirection = Language::getNonLocalizedURL();
}
} elseif ($currentLocale !== $defaultLocale || !$hideDefaultLocale) {
// If the current url does not contain any locale
// The system redirect the user to the very same url "localized"
// we use the current locale to redirect him
if (!Language::getActiveLanguage(['lang_id'])->isEmpty()) {
$redirection = Language::getLocalizedURL(session('language'), $request->fullUrl());
}
}
if ($redirection) {
// Save any flashed data for redirect
app('session')->reflash();
return new RedirectResponse($redirection, 302, ['Vary' => 'Accept-Language']);
}
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1964 …4}
/home/tunisiamirror/public_html/platform/plugins/language/src/Http/Middleware/LocaleSessionRedirect.php
app()->setLocale(session('language'));
if (count($params) > 0 && Language::checkLocaleInSupportedLocales($params[0])) {
session(['language' => $params[0]]);
app()->setLocale(session('language'));
return $next($request);
}
$locale = session('language', false);
if ($locale && Language::checkLocaleInSupportedLocales($locale) && !(Language::getDefaultLocale() === $locale && Language::hideDefaultLocaleInURL())) {
app('session')->reflash();
$redirection = Language::getLocalizedURL($locale);
return new RedirectResponse($redirection, 302, ['Vary' => 'Accept-Language']);
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2106 …4}
/home/tunisiamirror/public_html/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
/**
* Apply rules.
*
* @param string $buffer
* @return string
*/
abstract public function apply($buffer);
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return Response $response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response) {
if (!$this->shouldProcessPageSpeed($request)) {
return $response;
}
$html = $response->getContent();
$newContent = $this->apply($html);
return $response->setContent($newContent);
}
return $response;
}
/**
* Replace content response.
*
* @param array $replace
* @param string $buffer
* @return string
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2107 …4}
/home/tunisiamirror/public_html/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
/**
* Apply rules.
*
* @param string $buffer
* @return string
*/
abstract public function apply($buffer);
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return Response $response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response) {
if (!$this->shouldProcessPageSpeed($request)) {
return $response;
}
$html = $response->getContent();
$newContent = $this->apply($html);
return $response->setContent($newContent);
}
return $response;
}
/**
* Replace content response.
*
* @param array $replace
* @param string $buffer
* @return string
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2108 …4}
/home/tunisiamirror/public_html/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
/**
* Apply rules.
*
* @param string $buffer
* @return string
*/
abstract public function apply($buffer);
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return Response $response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response) {
if (!$this->shouldProcessPageSpeed($request)) {
return $response;
}
$html = $response->getContent();
$newContent = $this->apply($html);
return $response->setContent($newContent);
}
return $response;
}
/**
* Replace content response.
*
* @param array $replace
* @param string $buffer
* @return string
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2109 …4}
/home/tunisiamirror/public_html/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
/**
* Apply rules.
*
* @param string $buffer
* @return string
*/
abstract public function apply($buffer);
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return Response $response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response) {
if (!$this->shouldProcessPageSpeed($request)) {
return $response;
}
$html = $response->getContent();
$newContent = $this->apply($html);
return $response->setContent($newContent);
}
return $response;
}
/**
* Replace content response.
*
* @param array $replace
* @param string $buffer
* @return string
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2110 …4}
/home/tunisiamirror/public_html/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
/**
* Apply rules.
*
* @param string $buffer
* @return string
*/
abstract public function apply($buffer);
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return Response $response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response) {
if (!$this->shouldProcessPageSpeed($request)) {
return $response;
}
$html = $response->getContent();
$newContent = $this->apply($html);
return $response->setContent($newContent);
}
return $response;
}
/**
* Replace content response.
*
* @param array $replace
* @param string $buffer
* @return string
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2111 …4}
/home/tunisiamirror/public_html/vendor/botble/theme/src/Http/Middleware/AdminBarMiddleware.php
* @param Application $application
* @param SettingStore $settingStore
*/
public function __construct(Application $application, SettingStore $settingStore)
{
$this->app = $application;
$this->settingStore = $settingStore;
}
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return mixed
* @throws Throwable
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if (!BaseHelper::getAdminPrefix()) {
return $response;
}
if ($request->user() && admin_bar()->isDisplay()) {
if (!!(int)$this->settingStore->get('show_admin_bar', 1) && $response instanceof Response) {
$this->modifyResponse($request, $response);
}
}
return $response;
}
/**
* Modify the response and inject the admin bar
*
* @param Request $request
* @param Response $response
* @return Response
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2112 …4}
/home/tunisiamirror/public_html/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php
use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
class HttpsProtocolMiddleware
{
/**
* @param Request $request
* @param Closure $next
* @return RedirectResponse
*/
public function handle($request, Closure $next)
{
if (!$request->secure() && config('core.base.general.enable_https_support', false)) {
return redirect()->secure($request->getRequestUri());
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2113 …4}
/home/tunisiamirror/public_html/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php
* @param Application $application
*/
public function __construct(Application $application)
{
$this->app = $application;
}
/**
* Handle an incoming request.
*
* @param Request $request
* @param Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->app->setLocale(config('app.locale'));
if (!$request->session()->has('site-locale')) {
return $next($request);
}
$sessionLocale = $request->session()->get('site-locale');
if (array_key_exists($sessionLocale, Assets::getAdminLocales()) && is_in_admin()) {
$this->app->setLocale($sessionLocale);
$request->setLocale($sessionLocale);
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2114 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
*/
public function __construct(Registrar $router)
{
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2115 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
throw new TokenMismatchException('CSRF token mismatch.');
}
/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function isReading($request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2116 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// If the current session has an "errors" variable bound to it, we will share
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2117 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleStatefulRequest(Request $request, $session, Closure $next)
{
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
$request->setLaravelSession(
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
$this->saveSession($request);
return $response;
}
/**
* Start the session for the given request.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @return \Illuminate\Contracts\Session\Session
*/
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (! $this->sessionConfigured()) {
return $next($request);
}
$session = $this->getSession($request);
if ($this->manager->shouldBlock() ||
($request->route() && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
{
$lockFor = $request->route() && $request->route()->locksFor()
? $request->route()->locksFor()
: 10;
$lock = $this->cache($this->manager->blockDriver())
->lock('session:'.$session->getId(), $lockFor)
->betweenBlockedAttemptsSleepFor(50);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Session\Store {#326}
Closure($passable) {#2118 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2118 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2119 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $name
* @return void
*/
public function disableFor($name)
{
$this->except = array_merge($this->except, (array) $name);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
if ($this->isDisabled($key)) {
continue;
}
try {
$value = $this->decryptCookie($key, $cookie);
$hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#2120 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($route->gatherMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
return in_array($name, $excluded, true);
})->values();
Arguments
Closure($request) {#2099 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Routing\Route $route
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Illuminate\Routing\Route {#1875}
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
$this->container->instance(Route::class, $route);
return $route;
}
/**
* Return the response for the given route.
*
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Routing\Route {#1875}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return \Symfony\Component\HttpFoundation\Response
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
{
$this->terminateMiddleware($request, $response);
$this->app->terminate();
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php
{
$this->factory = $validator;
$this->field = $config->get('core.js-validation.js-validation.remote_validation_field');
$this->escape = (bool) $config->get('core.js-validation.js-validation.escape', false);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
if ($request->has($this->field)) {
$this->wrapValidator();
}
return $next($request);
}
/**
* Wraps Validator resolver with RemoteValidator resolver.
*
* @return void
*/
protected function wrapValidator()
{
$resolver = new Resolver($this->factory, $this->escape);
$this->factory->resolver($resolver->resolver($this->field));
$this->factory->extend(RemoteValidator::EXTENSION_NAME, $resolver->validatorClosure());
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1945 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1946 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1947 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Http\Exceptions\PostTooLargeException
*/
public function handle($request, Closure $next)
{
$max = $this->getPostMaxSize();
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
}
$metric = strtoupper(substr($postMaxSize, -1));
$postMaxSize = (int) $postMaxSize;
switch ($metric) {
case 'K':
return $postMaxSize * 1024;
case 'M':
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1948 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
* @throws \Illuminate\Foundation\Http\Exceptions\MaintenanceModeException
*/
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance()) {
$data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
return $next($request);
}
if ($this->inExceptArray($request)) {
return $next($request);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function inExceptArray($request)
{
foreach ($this->except as $except) {
if ($except !== '/') {
$except = trim($except, '/');
}
if ($request->fullUrlIs($except) || $request->is($except)) {
return true;
}
}
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1949 …4}
/home/tunisiamirror/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php
protected $container;
public function __construct(CorsService $cors, Container $container)
{
$this->cors = $cors;
$this->container = $container;
}
/**
* Handle an incoming request. Based on Asm89\Stack\Cors by asm89
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return Response
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
$this->cors->varyHeader($response, 'Access-Control-Request-Method');
return $response;
}
// Add the headers on the Request Handled event as fallback in case of exceptions
if (class_exists(RequestHandled::class) && $this->container->bound('events')) {
$this->container->make('events')->listen(RequestHandled::class, function (RequestHandled $event) {
$this->addHeaders($event->request, $event->response);
});
}
// Handle the request
$response = $next($request);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1950 …4}
/home/tunisiamirror/public_html/vendor/fideloper/proxy/src/TrustProxies.php
{
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
* @param \Illuminate\Http\Request $request
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// Trust any IP address that calls us
// `**` for backwards compatibility, but is deprecated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
}
// Support IPs addresses separated by comma
$trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#1951 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure($request) {#1943 …4}
/home/tunisiamirror/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
public function __construct(Application $app, Router $router)
{
$this->app = $app;
$this->router = $router;
$this->syncMiddlewareToRouter();
}
/**
* 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 (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new 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)
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/tunisiamirror/public_html/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Illuminate\Http\Request {#46
#json: null
#convertedFiles: []
#userResolver: Closure($guard = null) {#1962 …4}
#routeResolver: Closure() {#1960 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#48}
+request: Symfony\Component\HttpFoundation\InputBag {#54}
+query: Symfony\Component\HttpFoundation\InputBag {#54}
+server: Symfony\Component\HttpFoundation\ServerBag {#50}
+files: Symfony\Component\HttpFoundation\FileBag {#51}
+cookies: Symfony\Component\HttpFoundation\InputBag {#49}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#52}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:4 [
0 => "text/html"
1 => "application/xhtml+xml"
2 => "application/xml"
3 => "*/*"
]
#pathInfo: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#requestUri: "/%D8%A7%D9%83%D8%AA%D8%B4%D8%A7%D9%81-%D8%A3%D9%83%D8%A8%D8%B1-%D9%81%D9%88%D9%87%D8%A9-%D9%86%D9%8A%D8%B2%D9%83-%D9%81%D9%8A-%D8%A7%D9%84%D8%B4%D8%B1%D9%82-%D8%A7%D9%84%D8%A3%D9%88%D8%B3%D8%B7-%D9%81%D9%8A-%D8%B3%D9%84%D8%B7%D9%86%D8%A9-%D8%B9%D9%85%D8%A7%D9%86"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#326}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}