/home/astradev/domains/data.w05.pl/public_html/wp-content/cache/acorn/framework/views/f6b03291ebcfb0a184fd698443b166514f526115.php
<?php if (isset($component)) { $__componentOriginal4029befdf03cc4ab5a566395ba21e32ef91ef62f = $component; } ?>
<?php $component = App\V1\View\Components\SectionComponent::resolve(['settings' => $section->settings] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('section'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\SectionComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['section' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($section->acf_fc_layout)]); ?>
<div class="container flex flex-col gap-10">
<?php if (isset($component)) { $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd = $component; } ?>
<?php $component = App\V1\View\Components\ContentComponent::resolve(['content' => $section->content] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\ContentComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd)): ?>
<?php $component = $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd; ?>
<?php unset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd); ?>
<?php endif; ?>
<?php if(!empty($section->accordions)): ?>
<div class="accordions-wrapper flex flex-col max-w-[1024px] mx-auto w-full">
<?php $__currentLoopData = $section->accordions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $accordion): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div
class="accordion-item <?php if(!empty($section->open_first_accordion) && $loop->first): ?> accordion-item--active <?php endif; ?> py-6 sm:py-4 border-b-2 border-black first:border-t-2 cursor-pointer">
<div class="accordion-item__header flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="text-lg font-bold text-primary"><?php echo e($loop->index + 1); ?></span>
<h3 class="text-lg lg:text-md sm:text-base font-semibold"><?php echo e($accordion->title); ?></h3>
</div>
<span class="accordion-button-icon"></span>
</div>
<div class="accordion-item__body h-0 overflow-hidden cursor-auto"
<?php if(!empty($section->open_first_accordion) && $loop->first): ?> style="height: auto;" <?php endif; ?>>
Arguments
"Undefined property: stdClass::$settings (View: /home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/resources/views/partials/sections/simple_accordion.blade.php)"
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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();
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/cache/acorn/framework/views/f6b03291ebcfb0a184fd698443b166514f526115.php
<?php if (isset($component)) { $__componentOriginal4029befdf03cc4ab5a566395ba21e32ef91ef62f = $component; } ?>
<?php $component = App\V1\View\Components\SectionComponent::resolve(['settings' => $section->settings] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('section'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\SectionComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['section' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($section->acf_fc_layout)]); ?>
<div class="container flex flex-col gap-10">
<?php if (isset($component)) { $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd = $component; } ?>
<?php $component = App\V1\View\Components\ContentComponent::resolve(['content' => $section->content] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\ContentComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd)): ?>
<?php $component = $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd; ?>
<?php unset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd); ?>
<?php endif; ?>
<?php if(!empty($section->accordions)): ?>
<div class="accordions-wrapper flex flex-col max-w-[1024px] mx-auto w-full">
<?php $__currentLoopData = $section->accordions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $accordion): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div
class="accordion-item <?php if(!empty($section->open_first_accordion) && $loop->first): ?> accordion-item--active <?php endif; ?> py-6 sm:py-4 border-b-2 border-black first:border-t-2 cursor-pointer">
<div class="accordion-item__header flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="text-lg font-bold text-primary"><?php echo e($loop->index + 1); ?></span>
<h3 class="text-lg lg:text-md sm:text-base font-semibold"><?php echo e($accordion->title); ?></h3>
</div>
<span class="accordion-button-icon"></span>
</div>
<div class="accordion-item__body h-0 overflow-hidden cursor-auto"
<?php if(!empty($section->open_first_accordion) && $loop->first): ?> style="height: auto;" <?php endif; ?>>
Arguments
"Undefined property: stdClass::$settings"
/home/astradev/domains/data.w05.pl/public_html/wp-content/cache/acorn/framework/views/f6b03291ebcfb0a184fd698443b166514f526115.php
<?php if (isset($component)) { $__componentOriginal4029befdf03cc4ab5a566395ba21e32ef91ef62f = $component; } ?>
<?php $component = App\V1\View\Components\SectionComponent::resolve(['settings' => $section->settings] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('section'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\SectionComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['section' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($section->acf_fc_layout)]); ?>
<div class="container flex flex-col gap-10">
<?php if (isset($component)) { $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd = $component; } ?>
<?php $component = App\V1\View\Components\ContentComponent::resolve(['content' => $section->content] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('content'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\V1\View\Components\ContentComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd)): ?>
<?php $component = $__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd; ?>
<?php unset($__componentOriginal9a6a2a1c25ae8b0baed37da4145a283a103ce8fd); ?>
<?php endif; ?>
<?php if(!empty($section->accordions)): ?>
<div class="accordions-wrapper flex flex-col max-w-[1024px] mx-auto w-full">
<?php $__currentLoopData = $section->accordions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $accordion): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div
class="accordion-item <?php if(!empty($section->open_first_accordion) && $loop->first): ?> accordion-item--active <?php endif; ?> py-6 sm:py-4 border-b-2 border-black first:border-t-2 cursor-pointer">
<div class="accordion-item__header flex items-center justify-between gap-4">
<div class="flex items-center gap-3">
<span class="text-lg font-bold text-primary"><?php echo e($loop->index + 1); ?></span>
<h3 class="text-lg lg:text-md sm:text-base font-semibold"><?php echo e($accordion->title); ?></h3>
</div>
<span class="accordion-button-icon"></span>
</div>
<div class="accordion-item__body h-0 overflow-hidden cursor-auto"
<?php if(!empty($section->open_first_accordion) && $loop->first): ?> style="height: auto;" <?php endif; ?>>
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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;
Arguments
"/home/astradev/domains/data.w05.pl/public_html/wp-content/cache/acorn/framework/views/f6b03291ebcfb0a184fd698443b166514f526115.php"
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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();
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/Engines/CompilerEngine.php
* @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 (! isset($this->compiledOrNotExpired[$path]) && $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.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
if (! isset($this->compiledOrNotExpired[$path])) {
throw $e;
}
$this->compiler->compile($path);
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
}
$this->compiledOrNotExpired[$path] = true;
array_pop($this->lastCompiled);
return $results;
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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 section gets 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;
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/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 number 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 section gets 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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/View.php
{
if (value($boolean)) {
return $this->fragments($fragments);
}
return $this->render();
}
/**
* 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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/app/V1/Core/Domain/Entities/PostEntity.php
if ($sections) {
$views = [];
$keys = collect($sections)->pluck('acf_fc_layout')->toArray();
if (!empty(array_intersect(['gallery', 'gallery_with_description', 'gallery_columns'], $keys))) {
wp_enqueue_script('jquery');
wp_enqueue_style('ari-fancybox');
wp_enqueue_script('ari-fancybox');
}
foreach ($sections as $acf) {
if (!isset($acf->acf_fc_layout))
continue;
$section = array_to_object(array_merge((array) $acf, $includes));
if (View::exists('partials.sections.' . $acf->acf_fc_layout)) {
$views[] = view('partials.sections.' . $acf->acf_fc_layout)->with(compact('section'))->render();
} elseif (View::exists('partials.' . $this->getPostType() . '.single.sections.' . $acf->acf_fc_layout)) {
$views[] = view('partials.' . $this->getPostType() . '.single.sections.' . $acf->acf_fc_layout)->with(compact('section', 'entity'))->render();
} else {
$views[] = '<pre>Missing "' . $acf->acf_fc_layout . '" view</pre>';
}
}
return $views;
}
return null;
}
public function getThumbnail(): null|int
{
return $this->hasThumbnail() ? $this->getThumbnailId() : getOption(DefaultCoverKeyEnum::POST->value);
}
public function getTerms(): Collection
{
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/app/Theme/View/Composers/Courses/SingleCoursesComposer.php
*/
protected static $views = [
'single-courses',
];
/**
* Data to be passed to view before rendering.
*
* @return array
*/
public function with()
{
bundle('single-courses')->enqueue();
$post = (new CoursesPostEntityMapper())->map(get_post());
return [
'course_form' => $post->getCourseForm(),
'form_content' => $post->getCourseFormContent(),
'sections' => $post->getSections([
'icons' => $this->icons(),
'labels' => $this->labels(),
]),
];
}
private function icons(): object
{
return array_to_object([
'length_icon' => getOption('length_icon'),
'level_icon' => getOption('level_icon'),
'type_icon' => getOption('type_icon'),
'price_icon' => getOption('price_icon'),
'course_level_icon' => getOption('course_level_icon'),
'course_time_icon' => getOption('course_time_icon'),
'course_start_icon' => getOption('course_start_icon'),
]);
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
* @param View $view
* @return void
*/
public function compose(View $view)
{
$this->view = $view;
$this->data = new Fluent($view->getData());
$view->with($this->merge());
}
/**
* Data to be merged and passed to the view before rendering.
*
* @return array
*/
protected function merge()
{
return array_merge(
$this->with(),
$this->view->getData(),
$this->override()
);
}
/**
* Data to be passed to view before rendering
*
* @return array
*/
protected function with()
{
return [];
}
/**
* Data to be passed to view before rendering
*
* @return array
*/
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
return static::$views;
}
$view = array_slice(explode('\\', static::class), 3);
$view = array_map([Str::class, 'snake'], $view, array_fill(0, count($view), '-'));
return implode('/', $view);
}
/**
* Compose the view before rendering.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
$this->view = $view;
$this->data = new Fluent($view->getData());
$view->with($this->merge());
}
/**
* Data to be merged and passed to the view before rendering.
*
* @return array
*/
protected function merge()
{
return array_merge(
$this->with(),
$this->view->getData(),
$this->override()
);
}
/**
* Data to be passed to view before rendering
*
* @return array
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/Concerns/ManagesEvents.php
return $callback;
}
/**
* Build a class based container callback Closure.
*
* @param string $class
* @param string $prefix
* @return \Closure
*/
protected function buildClassEventCallback($class, $prefix)
{
[$class, $method] = $this->parseClassEvent($class, $prefix);
// Once we have the class and method name, we can build the Closure to resolve
// the instance out of the IoC container and call the method on it with the
// given arguments that are passed to the Closure as the composer's data.
return function () use ($class, $method) {
return $this->container->make($class)->{$method}(...func_get_args());
};
}
/**
* Parse a class based composer name.
*
* @param string $class
* @param string $prefix
* @return array
*/
protected function parseClassEvent($class, $prefix)
{
return Str::parseCallback($class, $this->classEventMethodForPrefix($prefix));
}
/**
* Determine the class event method based on the given prefix.
*
* @param string $prefix
* @return string
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/events/Dispatcher.php
* @param \Closure|string|array $listener
* @param bool $wildcard
* @return \Closure
*/
public function makeListener($listener, $wildcard = false)
{
if (is_string($listener)) {
return $this->createClassListener($listener, $wildcard);
}
if (is_array($listener) && isset($listener[0]) && is_string($listener[0])) {
return $this->createClassListener($listener, $wildcard);
}
return function ($event, $payload) use ($listener, $wildcard) {
if ($wildcard) {
return $listener($event, $payload);
}
return $listener(...array_values($payload));
};
}
/**
* Create a class based listener using the IoC container.
*
* @param string $listener
* @param bool $wildcard
* @return \Closure
*/
public function createClassListener($listener, $wildcard = false)
{
return function ($event, $payload) use ($listener, $wildcard) {
if ($wildcard) {
return call_user_func($this->createClassCallable($listener), $event, $payload);
}
$callable = $this->createClassCallable($listener);
return $callable(...array_values($payload));
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/events/Dispatcher.php
* @param bool $halt
* @return array|null
*/
public function dispatch($event, $payload = [], $halt = false)
{
// When the given "event" is actually an object we will assume it is an event
// object and use the class as the event name and this event itself as the
// payload to the handler, which makes object based events quite simple.
[$event, $payload] = $this->parseEventAndPayload(
$event, $payload
);
if ($this->shouldBroadcast($payload)) {
$this->broadcastEvent($payload[0]);
}
$responses = [];
foreach ($this->getListeners($event) as $listener) {
$response = $listener($event, $payload);
// If a response is returned from the listener and event halting is enabled
// we will just return this response, and not call the rest of the event
// listeners. Otherwise we will add the response on the response list.
if ($halt && ! is_null($response)) {
return $response;
}
// If a boolean false is returned from a listener, we will stop propagating
// the event to any further listeners down in the chain, else we keep on
// looping through the listeners and firing every one in our sequence.
if ($response === false) {
break;
}
$responses[] = $response;
}
return $halt ? null : $responses;
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/Concerns/ManagesEvents.php
protected function addEventListener($name, $callback)
{
if (str_contains($name, '*')) {
$callback = function ($name, array $data) use ($callback) {
return $callback($data[0]);
};
}
$this->events->listen($name, $callback);
}
/**
* Call the composer for a given view.
*
* @param \Illuminate\Contracts\View\View $view
* @return void
*/
public function callComposer(ViewContract $view)
{
$this->events->dispatch('composing: '.$view->name(), [$view]);
}
/**
* Call the creator for a given view.
*
* @param \Illuminate\Contracts\View\View $view
* @return void
*/
public function callCreator(ViewContract $view)
{
$this->events->dispatch('creating: '.$view->name(), [$view]);
}
}
/home/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/View.php
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the number 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 section gets 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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/vendor/illuminate/view/View.php
{
if (value($boolean)) {
return $this->fragments($fragments);
}
return $this->render();
}
/**
* 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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/index.php
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
$body_meta = get_field("body_meta_code", "option");
if ( ! empty( $body_meta ) ) {
echo $body_meta;
}
?>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
<div class="added-product-window"></div>
</body>
</html>
/home/astradev/domains/data.w05.pl/public_html/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/astradev/domains/data.w05.pl/public_html/wp-content/themes/datawizards/index.php"
/home/astradev/domains/data.w05.pl/public_html/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/astradev/domains/data.w05.pl/public_html/wp-includes/template-loader.php"
/home/astradev/domains/data.w05.pl/public_html/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/home/astradev/domains/data.w05.pl/public_html/wp-blog-header.php"