/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/storage/framework/views/blade/0ad194647d19a3bceb825daea85f5c39f0600b11.php
<?php $component->withAttributes(['class' => '_grey mb-4','url' => '#','onclick' => 'history.back()']); ?><?php echo trans("trans.Retour"); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<h1 class="text-3xl"><?php echo $title; ?></h1>
<p class="text-xs uppercase"><?php echo $artist["title"]; ?></p>
<p class="text-xxs"><?php echo $year; ?></p>
<ul class="flex gap-3 mt-4">
<?php $__currentLoopData = $genres; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $genre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="text-xxs bg-grey-200 px-4 py-2 rounded-[2rem]"><?php echo $genre->name; ?></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<div>
<a href="<?php echo $artist["link"]; ?>" class="flex flex-col border border-grey-400 p-4 transition-all hover:bg-grey-200" data-oat="fade-top">
<p class="text-xs uppercase font-bold"><?php echo $artist["title"]; ?></p>
<p class="text-xxs text-grey-800"><?php echo count($artist["compositions"]); ?> <?php echo trans("trans.composition(s)"); ?></p>
</a>
</div>
</div>
</section>
<div class="mb-24">
<?php echo $content; ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("layouts.main", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/core/PostTypes/Composition/views/single.blade.php ENDPATH**/ ?>
Arguments
"count(): Argument #1 ($value) must be of type Countable|array, null given (View: /home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/core/PostTypes/Composition/views/single.blade.php)"
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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();
// 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 {
$this->files->getRequire($path, $data);
} 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
TypeError {#4828
#message: "count(): Argument #1 ($value) must be of type Countable|array, null given"
#code: 0
#file: "/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/storage/framework/views/blade/0ad194647d19a3bceb825daea85f5c39f0600b11.php"
#line: 29
}
1
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/storage/framework/views/blade/0ad194647d19a3bceb825daea85f5c39f0600b11.php
<?php $component->withAttributes(['class' => '_grey mb-4','url' => '#','onclick' => 'history.back()']); ?><?php echo trans("trans.Retour"); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<h1 class="text-3xl"><?php echo $title; ?></h1>
<p class="text-xs uppercase"><?php echo $artist["title"]; ?></p>
<p class="text-xxs"><?php echo $year; ?></p>
<ul class="flex gap-3 mt-4">
<?php $__currentLoopData = $genres; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $genre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="text-xxs bg-grey-200 px-4 py-2 rounded-[2rem]"><?php echo $genre->name; ?></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<div>
<a href="<?php echo $artist["link"]; ?>" class="flex flex-col border border-grey-400 p-4 transition-all hover:bg-grey-200" data-oat="fade-top">
<p class="text-xs uppercase font-bold"><?php echo $artist["title"]; ?></p>
<p class="text-xxs text-grey-800"><?php echo count($artist["compositions"]); ?> <?php echo trans("trans.composition(s)"); ?></p>
</a>
</div>
</div>
</section>
<div class="mb-24">
<?php echo $content; ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("layouts.main", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/core/PostTypes/Composition/views/single.blade.php ENDPATH**/ ?>
Arguments
"count(): Argument #1 ($value) must be of type Countable|array, null given"
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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();
// 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 {
$this->files->getRequire($path, $data);
} 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/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/storage/framework/views/blade/0ad194647d19a3bceb825daea85f5c39f0600b11.php"
array:26 [
"__env" => Illuminate\View\Factory {#211}
"app" => Themosis\Core\Application {#4}
"errors" => Illuminate\Support\ViewErrorBag {#4813}
"namespace" => "Blocks\Texts"
"domain" => "Texts"
"wp_block" => WP_Block {#4823}
"wp_block_id" => "block_6409b266ee5f0"
"wp_block_post_id" => 7971
"wp_block_attributes" => array:17 [
"name" => "acf/texts"
"title" => "texts"
"description" => ""
"category" => "custom"
"icon" => "admin-comments"
"mode" => "edit"
"align" => ""
"keywords" => array:2 [
0 => "custom"
1 => "onie"
]
"supports" => array:3 [
"align" => true
"html" => false
"mode" => true
]
"post_types" => []
"render_template" => false
"render_callback" => array:2 [
0 => "Blocks\Texts\Block"
1 => "renderCallback"
]
"enqueue_style" => false
"enqueue_script" => false
"enqueue_assets" => false
"id" => "block_6409b266ee5f0"
"data" => array:20 [
"content" => "for violin, cello, bass flute, bass clarinet, piano and electronic sounds - First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>"
"_content" => "field_content_blocks_texts"
"padding_top" => ""
"_padding_top" => "field_padding_top_blocks_texts"
"padding_bottom" => ""
"_padding_bottom" => "field_padding_bottom_blocks_texts"
"margin_top" => ""
"_margin_top" => "field_margin_top_blocks_texts"
"margin_bottom" => ""
"_margin_bottom" => "field_margin_bottom_blocks_texts"
"container_width_class" => "wrap"
"_container_width_class" => "field_container_width_class_blocks_texts"
"container_with_paddings" => "1"
"_container_with_paddings" => "field_container_with_paddings_blocks_texts"
"has_background" => "0"
"_has_background" => "field_has_background_texts"
"hide" => "0"
"_hide" => "field_hide_blocks_texts"
"id" => ""
"_id" => "field_id_blocks_texts"
]
]
"wp_block_is_preview" => false
"address" => "5 Quai Banning - B-4000 Liège"
"email" => "info@centrehenripousseur.be"
"social_facebook_url" => "https://www.facebook.com/Centre-Henri-Pousseur-1631665210453269"
"social_instagram_url" => "https://www.instagram.com/centrehenripousseur"
"social_soundcloud_url" => "https://soundcloud.com/centrehenripousseur"
"social_youtube_url" => "https://www.instagram.com/centrehenripousseur"
"tel" => "04/223.22.98"
"home_url" => "https://www.centrehenripousseur.be"
"entry_animation_done" => 0
"id" => 7971
"title" => "PVLVERE"
"link" => "https://www.centrehenripousseur.be/en/composition/pvlvere-2/"
"featured" => null
"content" => """
<!-- Texts -->\n
\n
<section style="" data-wp-block-id="block_6409b266ee5f0|7971" class='relative wp-block'>\n
\n
<div style="" class=" wrap _with-paddings">\n
<div data-oa>\n
<div class="text-content" data-oat="fade-top"><p>for violin, cello, bass flute, bass clarinet, piano and electronic sounds – First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>\n
</div>\n
</div>\n
</div>\n
\n
\n
\n
</section>\n
"""
"genres" => array:1 [
0 => WP_Term {#4829}
]
"year" => null
]
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/storage/framework/views/blade/0ad194647d19a3bceb825daea85f5c39f0600b11.php"
array:26 [
"__env" => Illuminate\View\Factory {#211}
"app" => Themosis\Core\Application {#4}
"errors" => Illuminate\Support\ViewErrorBag {#4813}
"namespace" => "Blocks\Texts"
"domain" => "Texts"
"wp_block" => WP_Block {#4823}
"wp_block_id" => "block_6409b266ee5f0"
"wp_block_post_id" => 7971
"wp_block_attributes" => array:17 [
"name" => "acf/texts"
"title" => "texts"
"description" => ""
"category" => "custom"
"icon" => "admin-comments"
"mode" => "edit"
"align" => ""
"keywords" => array:2 [
0 => "custom"
1 => "onie"
]
"supports" => array:3 [
"align" => true
"html" => false
"mode" => true
]
"post_types" => []
"render_template" => false
"render_callback" => array:2 [
0 => "Blocks\Texts\Block"
1 => "renderCallback"
]
"enqueue_style" => false
"enqueue_script" => false
"enqueue_assets" => false
"id" => "block_6409b266ee5f0"
"data" => array:20 [
"content" => "for violin, cello, bass flute, bass clarinet, piano and electronic sounds - First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>"
"_content" => "field_content_blocks_texts"
"padding_top" => ""
"_padding_top" => "field_padding_top_blocks_texts"
"padding_bottom" => ""
"_padding_bottom" => "field_padding_bottom_blocks_texts"
"margin_top" => ""
"_margin_top" => "field_margin_top_blocks_texts"
"margin_bottom" => ""
"_margin_bottom" => "field_margin_bottom_blocks_texts"
"container_width_class" => "wrap"
"_container_width_class" => "field_container_width_class_blocks_texts"
"container_with_paddings" => "1"
"_container_with_paddings" => "field_container_with_paddings_blocks_texts"
"has_background" => "0"
"_has_background" => "field_has_background_texts"
"hide" => "0"
"_hide" => "field_hide_blocks_texts"
"id" => ""
"_id" => "field_id_blocks_texts"
]
]
"wp_block_is_preview" => false
"address" => "5 Quai Banning - B-4000 Liège"
"email" => "info@centrehenripousseur.be"
"social_facebook_url" => "https://www.facebook.com/Centre-Henri-Pousseur-1631665210453269"
"social_instagram_url" => "https://www.instagram.com/centrehenripousseur"
"social_soundcloud_url" => "https://soundcloud.com/centrehenripousseur"
"social_youtube_url" => "https://www.instagram.com/centrehenripousseur"
"tel" => "04/223.22.98"
"home_url" => "https://www.centrehenripousseur.be"
"entry_animation_done" => 0
"id" => 7971
"title" => "PVLVERE"
"link" => "https://www.centrehenripousseur.be/en/composition/pvlvere-2/"
"featured" => null
"content" => """
<!-- Texts -->\n
\n
<section style="" data-wp-block-id="block_6409b266ee5f0|7971" class='relative wp-block'>\n
\n
<div style="" class=" wrap _with-paddings">\n
<div data-oa>\n
<div class="text-content" data-oat="fade-top"><p>for violin, cello, bass flute, bass clarinet, piano and electronic sounds – First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>\n
</div>\n
</div>\n
</div>\n
\n
\n
\n
</section>\n
"""
"genres" => array:1 [
0 => WP_Term {#4829}
]
"year" => null
]
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/core/PostTypes/Composition/views/single.blade.php"
array:26 [
"__env" => Illuminate\View\Factory {#211}
"app" => Themosis\Core\Application {#4}
"errors" => Illuminate\Support\ViewErrorBag {#4813}
"namespace" => "Blocks\Texts"
"domain" => "Texts"
"wp_block" => WP_Block {#4823}
"wp_block_id" => "block_6409b266ee5f0"
"wp_block_post_id" => 7971
"wp_block_attributes" => array:17 [
"name" => "acf/texts"
"title" => "texts"
"description" => ""
"category" => "custom"
"icon" => "admin-comments"
"mode" => "edit"
"align" => ""
"keywords" => array:2 [
0 => "custom"
1 => "onie"
]
"supports" => array:3 [
"align" => true
"html" => false
"mode" => true
]
"post_types" => []
"render_template" => false
"render_callback" => array:2 [
0 => "Blocks\Texts\Block"
1 => "renderCallback"
]
"enqueue_style" => false
"enqueue_script" => false
"enqueue_assets" => false
"id" => "block_6409b266ee5f0"
"data" => array:20 [
"content" => "for violin, cello, bass flute, bass clarinet, piano and electronic sounds - First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>"
"_content" => "field_content_blocks_texts"
"padding_top" => ""
"_padding_top" => "field_padding_top_blocks_texts"
"padding_bottom" => ""
"_padding_bottom" => "field_padding_bottom_blocks_texts"
"margin_top" => ""
"_margin_top" => "field_margin_top_blocks_texts"
"margin_bottom" => ""
"_margin_bottom" => "field_margin_bottom_blocks_texts"
"container_width_class" => "wrap"
"_container_width_class" => "field_container_width_class_blocks_texts"
"container_with_paddings" => "1"
"_container_with_paddings" => "field_container_with_paddings_blocks_texts"
"has_background" => "0"
"_has_background" => "field_has_background_texts"
"hide" => "0"
"_hide" => "field_hide_blocks_texts"
"id" => ""
"_id" => "field_id_blocks_texts"
]
]
"wp_block_is_preview" => false
"address" => "5 Quai Banning - B-4000 Liège"
"email" => "info@centrehenripousseur.be"
"social_facebook_url" => "https://www.facebook.com/Centre-Henri-Pousseur-1631665210453269"
"social_instagram_url" => "https://www.instagram.com/centrehenripousseur"
"social_soundcloud_url" => "https://soundcloud.com/centrehenripousseur"
"social_youtube_url" => "https://www.instagram.com/centrehenripousseur"
"tel" => "04/223.22.98"
"home_url" => "https://www.centrehenripousseur.be"
"entry_animation_done" => 0
"id" => 7971
"title" => "PVLVERE"
"link" => "https://www.centrehenripousseur.be/en/composition/pvlvere-2/"
"featured" => null
"content" => """
<!-- Texts -->\n
\n
<section style="" data-wp-block-id="block_6409b266ee5f0|7971" class='relative wp-block'>\n
\n
<div style="" class=" wrap _with-paddings">\n
<div data-oa>\n
<div class="text-content" data-oat="fade-top"><p>for violin, cello, bass flute, bass clarinet, piano and electronic sounds – First work: OII Ensemble, Brussels, Espace Senghor, 1 December 2007</p>\n
</div>\n
</div>\n
</div>\n
\n
\n
\n
</section>\n
"""
"genres" => array:1 [
0 => WP_Term {#4829}
]
"year" => null
]
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
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();
// 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());
}
/**
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 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/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/http/Response.php
$this->original = $content;
// If the content is "JSONable" we will set the appropriate header and convert
// the content to JSON. This is useful when returning something like models
// from routes that will be automatically transformed to their JSON form.
if ($this->shouldBeJson($content)) {
$this->header('Content-Type', 'application/json');
$content = $this->morphToJson($content);
if ($content === false) {
throw new InvalidArgumentException(json_last_error_msg());
}
}
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
}
/**
* Determine if the given content should be turned into JSON.
*
* @param mixed $content
* @return bool
*/
protected function shouldBeJson($content)
{
return $content instanceof Arrayable ||
$content instanceof Jsonable ||
$content instanceof ArrayObject ||
$content instanceof JsonSerializable ||
is_array($content);
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/http/Response.php
{
use ResponseTrait, Macroable {
Macroable::__call as macroCall;
}
/**
* Create a new HTTP response.
*
* @param mixed $content
* @param int $status
* @param array $headers
* @return void
*
* @throws \InvalidArgumentException
*/
public function __construct($content = '', $status = 200, array $headers = [])
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* Set the content on the response.
*
* @param mixed $content
* @return $this
*
* @throws \InvalidArgumentException
*/
public function setContent($content)
{
$this->original = $content;
// If the content is "JSONable" we will set the appropriate header and convert
// the content to JSON. This is useful when returning something like models
// from routes that will be automatically transformed to their JSON form.
if ($this->shouldBeJson($content)) {
Arguments
Illuminate\View\View {#4871}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/routing/Router.php
if ($response instanceof Responsable) {
$response = $response->toResponse($request);
}
if ($response instanceof PsrResponseInterface) {
$response = (new HttpFoundationFactory)->createResponse($response);
} elseif ($response instanceof Model && $response->wasRecentlyCreated) {
$response = new JsonResponse($response, 201);
} elseif ($response instanceof Stringable) {
$response = new Response($response->__toString(), 200, ['Content-Type' => 'text/html']);
} elseif (! $response instanceof SymfonyResponse &&
($response instanceof Arrayable ||
$response instanceof Jsonable ||
$response instanceof ArrayObject ||
$response instanceof JsonSerializable ||
$response instanceof \stdClass ||
is_array($response))) {
$response = new JsonResponse($response);
} elseif (! $response instanceof SymfonyResponse) {
$response = new Response($response, 200, ['Content-Type' => 'text/html']);
}
if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
$response->setNotModified();
}
return $response->prepare($request);
}
/**
* Substitute the route bindings onto the route.
*
* @param \Illuminate\Routing\Route $route
* @return \Illuminate\Routing\Route
*
* @throws \Illuminate\Database\Eloquent\ModelNotFoundException
*/
public function substituteBindings($route)
{
foreach ($route->parameters() as $key => $value) {
Arguments
Illuminate\View\View {#4871}
200
array:1 [
"Content-Type" => "text/html"
]
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/routing/Router.php
* Sort the given middleware by priority.
*
* @param \Illuminate\Support\Collection $middlewares
* @return array
*/
protected function sortMiddleware(Collection $middlewares)
{
return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
}
/**
* Create a response instance from the given value.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param mixed $response
* @return \Symfony\Component\HttpFoundation\Response
*/
public function prepareResponse($request, $response)
{
return static::toResponse($request, $response);
}
/**
* Static version of prepareResponse.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param mixed $response
* @return \Symfony\Component\HttpFoundation\Response
*/
public static function toResponse($request, $response)
{
if ($response instanceof Responsable) {
$response = $response->toResponse($request);
}
if ($response instanceof PsrResponseInterface) {
$response = (new HttpFoundationFactory)->createResponse($response);
} elseif ($response instanceof Model && $response->wasRecentlyCreated) {
$response = new JsonResponse($response, 201);
} elseif ($response instanceof Stringable) {
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Illuminate\View\View {#4871}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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)
{
$computedMiddleware = $route->gatherMiddleware();
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($computedMiddleware)->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Illuminate\View\View {#4871}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php
{
$this->filter = $filter;
}
/**
* Handle incoming request.
*
* @param $request
* @param \Closure $next
*
* @return mixed
*/
public function handle($request, \Closure $next)
{
$this->filter->add(
'body_class',
$this->dispatchBodyClass($request->route()),
);
return $next($request);
}
/**
* Return the callback managing route body CSS classes.
*
* @param Route $route
*
* @return \Closure
*/
protected function dispatchBodyClass(Route $route)
{
return function ($classes) use ($route) {
if ($route->hasCondition()) {
return $classes;
}
$tokens = array_filter(array_map(function ($token) use ($route) {
switch ($type = $token[0]) {
case 'variable':
if (isset($token[3]) && $route->hasParameter($paramKey = $token[3])) {
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4772 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws TokenMismatchException
*
* @return mixed
*/
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 $request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4797 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/illuminate/routing/Middleware/SubstituteBindings.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
try {
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
} catch (ModelNotFoundException $exception) {
if ($route->getMissing()) {
return $route->getMissing()($request, $exception);
}
throw $exception;
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4798 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4799 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
}
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)
{
if (! $request->route() instanceof Route) {
return;
}
$lockFor = $request->route() && $request->route()->locksFor()
? $request->route()->locksFor()
: 10;
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Illuminate\Session\Store {#4809}
Closure($passable) {#4800 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4800 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param $request
* @param \Closure $next
*
* @return mixed
*/
public function handle($request, \Closure $next)
{
$route = $request->route();
if ($route->hasCondition()) {
$this->router->addWordPressBindings($route);
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4801 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php
namespace Themosis\Route\Middleware;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class WordPressHeaders
{
/**
* Cleanup response headers.
*
* @param Request $request
* @param \Closure $next
*
* @return Response
*/
public function handle(Request $request, \Closure $next)
{
$route = $request->route();
$response = $next($request);
if (! $route->hasCondition() && function_exists('is_user_logged_in') && ! is_user_logged_in()) {
// We're on a custom route. Remove "no-cache" headers added by WordPress:
// - Cache-Control
// - Expires
// - Content-type (provided by the response instance as well)
@header_remove('Cache-Control');
@header_remove('Expires');
@header_remove('Content-Type');
}
// Set the response cache control to "public"
// on pages visited by guest users only.
if (function_exists('is_user_logged_in') && ! is_user_logged_in()) {
$response->setPublic();
}
return $response;
}
}
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Closure($passable) {#4802 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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)
{
$computedMiddleware = $route->gatherMiddleware();
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($computedMiddleware)->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
if (empty($excluded)) {
Arguments
Closure($request) {#4795 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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
Themosis\Route\Route {#1291}
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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);
$route->setContainer($this->container);
$this->container->instance(Route::class, $route);
return $route;
}
/**
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
Themosis\Route\Route {#1291}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Core/Http/Kernel.php
protected function sendRequestThroughRouter($request)
{
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Get route dispatcher callback used by the
* routing pipeline.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Bootstrap the application.
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Return the bootstrappers array.
*
* @return array
*/
protected function bootstrappers()
{
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/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 {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Core/Http/Kernel.php
* @return bool
*/
public function hasMiddleware($middleware)
{
return in_array($middleware, $this->middleware);
}
/**
* Send given request through the middleware (if any) and router.
*
* @param \Illuminate\Http\Request $request
*
* @return IlluminateResponse
*/
protected function sendRequestThroughRouter($request)
{
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Get route dispatcher callback used by the
* routing pipeline.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Bootstrap the application.
*/
Arguments
Closure($request) {#4781 …4}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Core/Http/Kernel.php
*/
public function init($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
*
* @return IlluminateResponse
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response),
);
return $response;
}
/**
* Determine if the kernel has a given middleware.
*
* @param string $middleware
*
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/vendor/themosis/framework/src/Core/Application.php
foreach ($this->terminatingCallbacks as $terminating) {
$this->call($terminating);
}
}
/**
* Handle incoming request and return a response.
* Abstract the implementation from the user for easy
* theme integration.
*
* @param string $kernel Application kernel class name.
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @return $this
*/
public function manage(string $kernel, $request)
{
$kernel = $this->make($kernel);
$response = $kernel->handle($request);
$response->sendHeaders();
$response->sendContent();
if (function_exists('shutdown_action_hook')) {
shutdown_action_hook();
}
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
} elseif (function_exists('litespeed_finish_request')) {
litespeed_finish_request();
} elseif (! in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
Response::closeOutputBuffers(0, true);
}
$kernel->terminate($request, $response);
return $this;
}
Arguments
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/content/themes/project-theme/index.php
<?php
use Illuminate\Contracts\Http\Kernel;
use Themosis\Core\Application;
/**
* Default WordPress template.
*
* By default, routes should be defined at application
* root into the routes/web.php file.
*
* Routes can be overwritten using theme routes.php file.
*/
$app = Application::getInstance();
$app->manage(Kernel::class, $app['request']);
Arguments
Http\Kernel {#40}
Illuminate\Http\Request {#54
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#56}
+request: Symfony\Component\HttpFoundation\InputBag {#62}
+query: Symfony\Component\HttpFoundation\InputBag {#62}
+server: Symfony\Component\HttpFoundation\ServerBag {#58}
+files: Symfony\Component\HttpFoundation\FileBag {#59}
+cookies: Symfony\Component\HttpFoundation\InputBag {#57}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#60}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/composition/pvlvere-2/"
#requestUri: "/en/composition/pvlvere-2/"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#4809}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#4775 …4}
#routeResolver: Closure() {#4783 …4}
basePath: ""
format: "html"
}
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/cms/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/content/themes/project-theme/index.php"
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/cms/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/cms/wp-includes/template-loader.php"
/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/index.php
<?php
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
Arguments
"/home/clients/56cfd80825d02835e6bada20e8e6b13c/sites/site/htdocs/cms/wp-blog-header.php"