Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $registry as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46
Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $expressionLanguage as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::__construct(): Implicitly marking parameter $twig as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php on line 39
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $language as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $trustResolver as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $roleHierarchy as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $tokenStorage as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43
Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33
Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollectionInterface::getEntrypointLookup(): Implicitly marking parameter $buildName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookupCollectionInterface.php on line 21
Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollection::__construct(): Implicitly marking parameter $defaultBuildName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookupCollection.php on line 28
Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookupCollection::getEntrypointLookup(): Implicitly marking parameter $buildName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookupCollection.php on line 34
Deprecated: Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension::renderWebpackScriptTags(): Implicitly marking parameter $packageName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/EntryFilesTwigExtension.php on line 51
Deprecated: Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension::renderWebpackLinkTags(): Implicitly marking parameter $packageName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/EntryFilesTwigExtension.php on line 57
Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusAction(): Implicitly marking parameter $actionName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 76
Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusAction(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 76
Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::appendStimulusAction(): Implicitly marking parameter $eventName as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 124
Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::renderStimulusTarget(): Implicitly marking parameter $targetNames as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 135
Deprecated: Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension::appendStimulusTarget(): Implicitly marking parameter $targetNames as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Twig/StimulusTwigExtension.php on line 163
Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookup::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php on line 36
Deprecated: Symfony\WebpackEncoreBundle\Asset\EntrypointLookup::__construct(): Implicitly marking parameter $cacheKey as nullable is deprecated, the explicit nullable type must be used instead in /home/minisme/www/geopos_proj/vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php on line 36 Symfony Profiler
$e->setSourceContext($templateName ? new Source('', $templateName) : $this->getSourceContext());
}
if ($e->getTemplateLine() > 0) {
throw $e;
}
if (!$line) {
$e->guess();
} else {
$e->setTemplateLine($line);
}
throw $e;
}
}
/**
* @internal
*
* @return $this
*/
public function unwrap(): self
{
return $this;
}
/**
* Returns all blocks.
*
* This method is for internal use only and should never be called
* directly.
*
* @return array An array of blocks
*/
public function getBlocks(): array
{
return $this->blocks;
}
public function display(array $context, array $blocks = []): void
{
foreach ($this->yield($context, $blocks) as $data) {
echo $data;
}
}
public function render(array $context): string
{
if (!$this->useYield) {
$level = ob_get_level();
if ($this->env->isDebug()) {
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
throw $e;
}
return ob_get_clean();
}
$content = '';
foreach ($this->yield($context) as $data) {
$content .= $data;
}
return $content;
}
/**
* @return iterable<scalar|\Stringable|null>
*/
public function yield(array $context, array $blocks = []): iterable
{
$context += $this->env->getGlobals();
$blocks = array_merge($this->blocks, $blocks);
try {
yield from $this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Throwable $e) {
$e = new RuntimeError(\sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
$e->guess();
throw $e;
}
}
/**
* @return iterable<scalar|\Stringable|null>
*/
public function yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $templateContext = null): iterable
{
if ($useBlocks && isset($blocks[$name])) {
$template = $blocks[$name][0];
$block = $blocks[$name][1];
} elseif (isset($this->blocks[$name])) {
$template = $this->blocks[$name][0];
$block = $this->blocks[$name][1];
} else {
$template = null;
$block = null;
}
// avoid RCEs when sandbox is enabled
if (null !== $template && !$template instanceof self) {
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
// this is mostly useful for \Twig\Error\LoaderError exceptions
// see \Twig\Error\LoaderError
if (-1 === $e->getTemplateLine()) {
$e->guess();
}
throw $e;
} catch (\Throwable $e) {
$e = new RuntimeError(\sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
$e->guess();
throw $e;
}
} elseif ($parent = $this->getParent($context)) {
yield from $parent->unwrap()->yieldBlock($name, $context, array_merge($this->blocks, $blocks), false, $templateContext ?? $this);
} elseif (isset($blocks[$name])) {
throw new RuntimeError(\sprintf('Block "%s" should not call parent() in "%s" as the block does not exist in the parent template "%s".', $name, $blocks[$name][0]->getTemplateName(), $this->getTemplateName()), -1, $blocks[$name][0]->getSourceContext());
} else {
throw new RuntimeError(\sprintf('Block "%s" on template "%s" does not exist.', $name, $this->getTemplateName()), -1, ($templateContext ?? $this)->getSourceContext());
}
}
/**
* Yields a parent block.
*
* This method is for internal use only and should never be called
* directly.
*
* @param string $name The block name to display from the parent
* @param array $context The context
* @param array $blocks The current set of blocks
*
* @return iterable<scalar|\Stringable|null>
*/
public function yieldParentBlock($name, array $context, array $blocks = []): iterable
{
if (isset($this->traits[$name])) {
yield from $this->traits[$name][0]->yieldBlock($this->traitAliases[$name] ?? $name, $context, $blocks, false);
} elseif ($parent = $this->getParent($context)) {
yield from $parent->unwrap()->yieldBlock($name, $context, $blocks, false);
} else {
throw new RuntimeError(\sprintf('The template has no parent and no traits defining the "%s" block.', $name), -1, $this->getSourceContext());
}
}
protected function hasMacro(string $name, array $context): bool
{
if (method_exists($this, $name)) {
return true;
}
if (!$parent = $this->getParent($context)) {
return false;
}
return $parent->hasMacro($name, $context);
}
protected function getTemplateForMacro(string $name, array $context, int $line, Source $source): self
{
if (method_exists($this, $name)) {
return $this;
}
$parent = $this;
while ($parent = $parent->getParent($context)) {
if (method_exists($parent, $name)) {
return $parent;
}
}
throw new RuntimeError(\sprintf('Macro "%s" is not defined in template "%s".', substr($name, \strlen('macro_')), $this->getTemplateName()), $line, $source);
}
/**
* Auto-generated method to display the template with the given context.
*
* @param array $context An array of parameters to pass to the template
* @param array $blocks An array of blocks to pass to the template
*
* @return iterable<scalar|\Stringable|null>
*/
abstract protected function doDisplay(array $context, array $blocks = []): iterable;