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

var_dev/cache/dev/twig/09/090e6f52cee42e37506145bfe30a6434.php line 56

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @WebProfiler/Collector/notifier.html.twig */
  16. class __TwigTemplate_b7a052bcefc25d99ad222cc4bc3c8b10 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'toolbar' => [$this, 'block_toolbar'],
  29. 'head' => [$this, 'block_head'],
  30. 'menu' => [$this, 'block_menu'],
  31. 'panel' => [$this, 'block_panel'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return "@WebProfiler/Profiler/layout.html.twig";
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/notifier.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/notifier.html.twig"));
  46. $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/notifier.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 3
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_toolbar(array $context, array $blocks = []): iterable
  56. {
  57. $macros = $this->macros;
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
  62. // line 4
  63. yield " ";
  64. $context["events"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 4, $this->source); })()), "events", [], "any", false, false, false, 4);
  65. // line 5
  66. yield "
  67. ";
  68. // line 6
  69. if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 6, $this->source); })()), "messages", [], "any", false, false, false, 6))) {
  70. // line 7
  71. yield " ";
  72. $context["icon"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  73. // line 8
  74. yield " ";
  75. yield from $this->loadTemplate("@WebProfiler/Icon/notifier.svg", "@WebProfiler/Collector/notifier.html.twig", 8)->unwrap()->yield($context);
  76. // line 9
  77. yield " <span class=\"sf-toolbar-value\">";
  78. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 9, $this->source); })()), "messages", [], "any", false, false, false, 9)), "html", null, true);
  79. yield "</span>
  80. ";
  81. yield from [];
  82. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  83. // line 11
  84. yield "
  85. ";
  86. // line 12
  87. $context["text"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  88. // line 13
  89. yield " <div class=\"sf-toolbar-info-piece\">
  90. <b>Sent notifications</b>
  91. <span class=\"sf-toolbar-status\">";
  92. // line 15
  93. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 15, $this->source); })()), "messages", [], "any", false, false, false, 15)), "html", null, true);
  94. yield "</span>
  95. </div>
  96. ";
  97. // line 18
  98. $context['_parent'] = $context;
  99. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 18, $this->source); })()), "transports", [], "any", false, false, false, 18));
  100. foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
  101. // line 19
  102. yield " <div class=\"sf-toolbar-info-piece\">
  103. <b>";
  104. // line 20
  105. yield (($context["transport"]) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true)) : ("<em>Empty Transport Name</em>"));
  106. yield "</b>
  107. <span class=\"sf-toolbar-status\">";
  108. // line 21
  109. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 21, $this->source); })()), "messages", [$context["transport"]], "method", false, false, false, 21)), "html", null, true);
  110. yield "</span>
  111. </div>
  112. ";
  113. }
  114. $_parent = $context['_parent'];
  115. unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
  116. $context = array_intersect_key($context, $_parent) + $_parent;
  117. // line 24
  118. yield " ";
  119. yield from [];
  120. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  121. // line 25
  122. yield "
  123. ";
  124. // line 26
  125. yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 26, $this->source); })())]);
  126. yield "
  127. ";
  128. }
  129. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131. yield from [];
  132. }
  133. // line 30
  134. /**
  135. * @return iterable<null|scalar|\Stringable>
  136. */
  137. public function block_head(array $context, array $blocks = []): iterable
  138. {
  139. $macros = $this->macros;
  140. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  142. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
  144. // line 31
  145. yield " ";
  146. yield from $this->yieldParentBlock("head", $context, $blocks);
  147. yield "
  148. <style type=\"text/css\">
  149. /* utility classes */
  150. .m-t-0 { margin-top: 0 !important; }
  151. .m-t-10 { margin-top: 10px !important; }
  152. /* basic grid */
  153. .row {
  154. display: flex;
  155. flex-wrap: wrap;
  156. margin-right: -15px;
  157. margin-left: -15px;
  158. }
  159. .col {
  160. flex-basis: 0;
  161. flex-grow: 1;
  162. max-width: 100%;
  163. position: relative;
  164. width: 100%;
  165. min-height: 1px;
  166. padding-right: 15px;
  167. padding-left: 15px;
  168. }
  169. .col-4 {
  170. flex: 0 0 33.333333%;
  171. max-width: 33.333333%;
  172. }
  173. /* small tabs */
  174. .sf-tabs-sm .tab-navigation li {
  175. font-size: 14px;
  176. padding: .3em .5em;
  177. }
  178. </style>
  179. ";
  180. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  181. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182. yield from [];
  183. }
  184. // line 67
  185. /**
  186. * @return iterable<null|scalar|\Stringable>
  187. */
  188. public function block_menu(array $context, array $blocks = []): iterable
  189. {
  190. $macros = $this->macros;
  191. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  192. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  193. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  194. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  195. // line 68
  196. yield " ";
  197. $context["events"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 68, $this->source); })()), "events", [], "any", false, false, false, 68);
  198. // line 69
  199. yield "
  200. <span class=\"label ";
  201. // line 70
  202. yield ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 70, $this->source); })()), "messages", [], "any", false, false, false, 70))) ? ("") : ("disabled"));
  203. yield "\">
  204. <span class=\"icon\">";
  205. // line 71
  206. yield Twig\Extension\CoreExtension::include($this->env, $context, "@WebProfiler/Icon/notifier.svg");
  207. yield "</span>
  208. <strong>Notifications</strong>
  209. ";
  210. // line 74
  211. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 74, $this->source); })()), "messages", [], "any", false, false, false, 74)) > 0)) {
  212. // line 75
  213. yield " <span class=\"count\">
  214. <span>";
  215. // line 76
  216. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 76, $this->source); })()), "messages", [], "any", false, false, false, 76)), "html", null, true);
  217. yield "</span>
  218. </span>
  219. ";
  220. }
  221. // line 79
  222. yield " </span>
  223. ";
  224. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226. yield from [];
  227. }
  228. // line 82
  229. /**
  230. * @return iterable<null|scalar|\Stringable>
  231. */
  232. public function block_panel(array $context, array $blocks = []): iterable
  233. {
  234. $macros = $this->macros;
  235. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
  237. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
  239. // line 83
  240. yield " ";
  241. $context["events"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 83, $this->source); })()), "events", [], "any", false, false, false, 83);
  242. // line 84
  243. yield "
  244. <h2>Notifications</h2>
  245. ";
  246. // line 87
  247. if ( !Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 87, $this->source); })()), "messages", [], "any", false, false, false, 87))) {
  248. // line 88
  249. yield " <div class=\"empty\">
  250. <p>No notifications were sent.</p>
  251. </div>
  252. ";
  253. }
  254. // line 92
  255. yield "
  256. <div class=\"metrics\">
  257. ";
  258. // line 94
  259. $context['_parent'] = $context;
  260. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 94, $this->source); })()), "transports", [], "any", false, false, false, 94));
  261. foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
  262. // line 95
  263. yield " <div class=\"metric\">
  264. <span class=\"value\">";
  265. // line 96
  266. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 96, $this->source); })()), "messages", [$context["transport"]], "method", false, false, false, 96)), "html", null, true);
  267. yield "</span>
  268. <span class=\"label\">";
  269. // line 97
  270. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true);
  271. yield "</span>
  272. </div>
  273. ";
  274. }
  275. $_parent = $context['_parent'];
  276. unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
  277. $context = array_intersect_key($context, $_parent) + $_parent;
  278. // line 100
  279. yield " </div>
  280. ";
  281. // line 102
  282. $context['_parent'] = $context;
  283. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 102, $this->source); })()), "transports", [], "any", false, false, false, 102));
  284. foreach ($context['_seq'] as $context["_key"] => $context["transport"]) {
  285. // line 103
  286. yield " <h3>";
  287. yield (($context["transport"]) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["transport"], "html", null, true)) : ("<em>Empty Transport Name</em>"));
  288. yield "</h3>
  289. <div class=\"card-block\">
  290. <div class=\"sf-tabs sf-tabs-sm\">
  291. ";
  292. // line 107
  293. $context['_parent'] = $context;
  294. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["events"]) || array_key_exists("events", $context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.', 107, $this->source); })()), "events", [$context["transport"]], "method", false, false, false, 107));
  295. $context['loop'] = [
  296. 'parent' => $context['_parent'],
  297. 'index0' => 0,
  298. 'index' => 1,
  299. 'first' => true,
  300. ];
  301. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  302. $length = count($context['_seq']);
  303. $context['loop']['revindex0'] = $length - 1;
  304. $context['loop']['revindex'] = $length;
  305. $context['loop']['length'] = $length;
  306. $context['loop']['last'] = 1 === $length;
  307. }
  308. foreach ($context['_seq'] as $context["_key"] => $context["event"]) {
  309. // line 108
  310. yield " ";
  311. $context["message"] = CoreExtension::getAttribute($this->env, $this->source, $context["event"], "message", [], "any", false, false, false, 108);
  312. // line 109
  313. yield " <div class=\"tab\">
  314. <h3 class=\"tab-title\">Message #";
  315. // line 110
  316. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 110), "html", null, true);
  317. yield " <small>(";
  318. yield ((CoreExtension::getAttribute($this->env, $this->source, $context["event"], "isQueued", [], "method", false, false, false, 110)) ? ("queued") : ("sent"));
  319. yield ")</small></h3>
  320. <div class=\"tab-content\">
  321. <div class=\"card\">
  322. <div class=\"card-block\">
  323. <span class=\"label\">Subject</span>
  324. <h2 class=\"m-t-10\">";
  325. // line 115
  326. yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["message"] ?? null), "getSubject", [], "method", true, true, false, 115) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 115, $this->source); })()), "getSubject", [], "method", false, false, false, 115)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 115, $this->source); })()), "getSubject", [], "method", false, false, false, 115), "html", null, true)) : ("(empty)"));
  327. yield "</h2>
  328. </div>
  329. ";
  330. // line 117
  331. $context["notification"] = (((CoreExtension::getAttribute($this->env, $this->source, ($context["message"] ?? null), "notification", [], "any", true, true, false, 117) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 117, $this->source); })()), "notification", [], "any", false, false, false, 117)))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 117, $this->source); })()), "notification", [], "any", false, false, false, 117)) : (null));
  332. // line 118
  333. yield " ";
  334. if ((isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 118, $this->source); })())) {
  335. // line 119
  336. yield " <div class=\"card-block\">
  337. <div class=\"row\">
  338. <div class=\"col\">
  339. <span class=\"label\">Content</span>
  340. <pre class=\"prewrap\">";
  341. // line 123
  342. yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["notification"] ?? null), "getContent", [], "method", true, true, false, 123) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 123, $this->source); })()), "getContent", [], "method", false, false, false, 123)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 123, $this->source); })()), "getContent", [], "method", false, false, false, 123), "html", null, true)) : ("(empty)"));
  343. yield "</pre>
  344. <span class=\"label\">Importance</span>
  345. <pre class=\"prewrap\">";
  346. // line 125
  347. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 125, $this->source); })()), "getImportance", [], "method", false, false, false, 125), "html", null, true);
  348. yield "</pre>
  349. </div>
  350. </div>
  351. </div>
  352. ";
  353. }
  354. // line 130
  355. yield " <div class=\"card-block\">
  356. <div class=\"sf-tabs sf-tabs-sm\">
  357. ";
  358. // line 132
  359. if ((isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 132, $this->source); })())) {
  360. // line 133
  361. yield " <div class=\"tab\">
  362. <h3 class=\"tab-title\">Notification</h3>
  363. <div class=\"tab-content\">
  364. <pre class=\"prewrap\" style=\"max-height: 600px\">";
  365. // line 137
  366. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Subject: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 137, $this->source); })()), "getSubject", [], "method", false, false, false, 137)), "html", null, true);
  367. yield "<br/>";
  368. // line 138
  369. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Content: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 138, $this->source); })()), "getContent", [], "method", false, false, false, 138)), "html", null, true);
  370. yield "<br/>";
  371. // line 139
  372. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Importance: " . CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 139, $this->source); })()), "getImportance", [], "method", false, false, false, 139)), "html", null, true);
  373. yield "<br/>";
  374. // line 140
  375. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Emoji: " . ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 140, $this->source); })()), "getEmoji", [], "method", false, false, false, 140))) ? ("(empty)") : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 140, $this->source); })()), "getEmoji", [], "method", false, false, false, 140)))), "html", null, true);
  376. yield "<br/>";
  377. // line 141
  378. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("Exception: " . (((CoreExtension::getAttribute($this->env, $this->source, ($context["notification"] ?? null), "getException", [], "method", true, true, false, 141) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 141, $this->source); })()), "getException", [], "method", false, false, false, 141)))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 141, $this->source); })()), "getException", [], "method", false, false, false, 141)) : ("(empty)"))), "html", null, true);
  379. yield "<br/>";
  380. // line 142
  381. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(("ExceptionAsString: " . ((Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 142, $this->source); })()), "getExceptionAsString", [], "method", false, false, false, 142))) ? ("(empty)") : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["notification"]) || array_key_exists("notification", $context) ? $context["notification"] : (function () { throw new RuntimeError('Variable "notification" does not exist.', 142, $this->source); })()), "getExceptionAsString", [], "method", false, false, false, 142)))), "html", null, true);
  382. yield "
  383. </pre>
  384. </div>
  385. </div>
  386. ";
  387. }
  388. // line 147
  389. yield " <div class=\"tab\">
  390. <h3 class=\"tab-title\">Message Options</h3>
  391. <div class=\"tab-content\">
  392. <pre class=\"prewrap\" style=\"max-height: 600px\">";
  393. // line 151
  394. if ((null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 151, $this->source); })()), "getOptions", [], "method", false, false, false, 151))) {
  395. // line 152
  396. yield "(empty)";
  397. } else {
  398. // line 154
  399. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 154, $this->source); })()), "getOptions", [], "method", false, false, false, 154), Twig\Extension\CoreExtension::constant("JSON_PRETTY_PRINT")), "html", null, true);
  400. }
  401. // line 156
  402. yield " </pre>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. ";
  411. ++$context['loop']['index0'];
  412. ++$context['loop']['index'];
  413. $context['loop']['first'] = false;
  414. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  415. --$context['loop']['revindex0'];
  416. --$context['loop']['revindex'];
  417. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  418. }
  419. }
  420. $_parent = $context['_parent'];
  421. unset($context['_seq'], $context['_key'], $context['event'], $context['_parent'], $context['loop']);
  422. $context = array_intersect_key($context, $_parent) + $_parent;
  423. // line 165
  424. yield " </div>
  425. </div>
  426. ";
  427. }
  428. $_parent = $context['_parent'];
  429. unset($context['_seq'], $context['_key'], $context['transport'], $context['_parent']);
  430. $context = array_intersect_key($context, $_parent) + $_parent;
  431. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  433. yield from [];
  434. }
  435. /**
  436. * @codeCoverageIgnore
  437. */
  438. public function getTemplateName(): string
  439. {
  440. return "@WebProfiler/Collector/notifier.html.twig";
  441. }
  442. /**
  443. * @codeCoverageIgnore
  444. */
  445. public function isTraitable(): bool
  446. {
  447. return false;
  448. }
  449. /**
  450. * @codeCoverageIgnore
  451. */
  452. public function getDebugInfo(): array
  453. {
  454. return array ( 468 => 165, 446 => 156, 443 => 154, 440 => 152, 438 => 151, 433 => 147, 425 => 142, 422 => 141, 419 => 140, 416 => 139, 413 => 138, 410 => 137, 405 => 133, 403 => 132, 399 => 130, 391 => 125, 386 => 123, 380 => 119, 377 => 118, 375 => 117, 370 => 115, 360 => 110, 357 => 109, 354 => 108, 337 => 107, 329 => 103, 325 => 102, 321 => 100, 312 => 97, 308 => 96, 305 => 95, 301 => 94, 297 => 92, 291 => 88, 289 => 87, 284 => 84, 281 => 83, 268 => 82, 256 => 79, 250 => 76, 247 => 75, 245 => 74, 239 => 71, 235 => 70, 232 => 69, 229 => 68, 216 => 67, 169 => 31, 156 => 30, 142 => 26, 139 => 25, 135 => 24, 126 => 21, 122 => 20, 119 => 19, 115 => 18, 109 => 15, 105 => 13, 103 => 12, 100 => 11, 93 => 9, 90 => 8, 87 => 7, 85 => 6, 82 => 5, 79 => 4, 66 => 3, 43 => 1,);
  455. }
  456. public function getSourceContext(): Source
  457. {
  458. return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  459. {% block toolbar %}
  460. {% set events = collector.events %}
  461. {% if events.messages|length %}
  462. {% set icon %}
  463. {% include('@WebProfiler/Icon/notifier.svg') %}
  464. <span class=\"sf-toolbar-value\">{{ events.messages|length }}</span>
  465. {% endset %}
  466. {% set text %}
  467. <div class=\"sf-toolbar-info-piece\">
  468. <b>Sent notifications</b>
  469. <span class=\"sf-toolbar-status\">{{ events.messages|length }}</span>
  470. </div>
  471. {% for transport in events.transports %}
  472. <div class=\"sf-toolbar-info-piece\">
  473. <b>{{ transport ?: '<em>Empty Transport Name</em>' }}</b>
  474. <span class=\"sf-toolbar-status\">{{ events.messages(transport)|length }}</span>
  475. </div>
  476. {% endfor %}
  477. {% endset %}
  478. {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': profiler_url }) }}
  479. {% endif %}
  480. {% endblock %}
  481. {% block head %}
  482. {{ parent() }}
  483. <style type=\"text/css\">
  484. /* utility classes */
  485. .m-t-0 { margin-top: 0 !important; }
  486. .m-t-10 { margin-top: 10px !important; }
  487. /* basic grid */
  488. .row {
  489. display: flex;
  490. flex-wrap: wrap;
  491. margin-right: -15px;
  492. margin-left: -15px;
  493. }
  494. .col {
  495. flex-basis: 0;
  496. flex-grow: 1;
  497. max-width: 100%;
  498. position: relative;
  499. width: 100%;
  500. min-height: 1px;
  501. padding-right: 15px;
  502. padding-left: 15px;
  503. }
  504. .col-4 {
  505. flex: 0 0 33.333333%;
  506. max-width: 33.333333%;
  507. }
  508. /* small tabs */
  509. .sf-tabs-sm .tab-navigation li {
  510. font-size: 14px;
  511. padding: .3em .5em;
  512. }
  513. </style>
  514. {% endblock %}
  515. {% block menu %}
  516. {% set events = collector.events %}
  517. <span class=\"label {{ events.messages|length ? '' : 'disabled' }}\">
  518. <span class=\"icon\">{{ include('@WebProfiler/Icon/notifier.svg') }}</span>
  519. <strong>Notifications</strong>
  520. {% if events.messages|length > 0 %}
  521. <span class=\"count\">
  522. <span>{{ events.messages|length }}</span>
  523. </span>
  524. {% endif %}
  525. </span>
  526. {% endblock %}
  527. {% block panel %}
  528. {% set events = collector.events %}
  529. <h2>Notifications</h2>
  530. {% if not events.messages|length %}
  531. <div class=\"empty\">
  532. <p>No notifications were sent.</p>
  533. </div>
  534. {% endif %}
  535. <div class=\"metrics\">
  536. {% for transport in events.transports %}
  537. <div class=\"metric\">
  538. <span class=\"value\">{{ events.messages(transport)|length }}</span>
  539. <span class=\"label\">{{ transport }}</span>
  540. </div>
  541. {% endfor %}
  542. </div>
  543. {% for transport in events.transports %}
  544. <h3>{{ transport ?: '<em>Empty Transport Name</em>' }}</h3>
  545. <div class=\"card-block\">
  546. <div class=\"sf-tabs sf-tabs-sm\">
  547. {% for event in events.events(transport) %}
  548. {% set message = event.message %}
  549. <div class=\"tab\">
  550. <h3 class=\"tab-title\">Message #{{ loop.index }} <small>({{ event.isQueued() ? 'queued' : 'sent' }})</small></h3>
  551. <div class=\"tab-content\">
  552. <div class=\"card\">
  553. <div class=\"card-block\">
  554. <span class=\"label\">Subject</span>
  555. <h2 class=\"m-t-10\">{{ message.getSubject() ?? '(empty)' }}</h2>
  556. </div>
  557. {% set notification = message.notification ?? null %}
  558. {% if notification %}
  559. <div class=\"card-block\">
  560. <div class=\"row\">
  561. <div class=\"col\">
  562. <span class=\"label\">Content</span>
  563. <pre class=\"prewrap\">{{ notification.getContent() ?? '(empty)' }}</pre>
  564. <span class=\"label\">Importance</span>
  565. <pre class=\"prewrap\">{{ notification.getImportance() }}</pre>
  566. </div>
  567. </div>
  568. </div>
  569. {% endif %}
  570. <div class=\"card-block\">
  571. <div class=\"sf-tabs sf-tabs-sm\">
  572. {% if notification %}
  573. <div class=\"tab\">
  574. <h3 class=\"tab-title\">Notification</h3>
  575. <div class=\"tab-content\">
  576. <pre class=\"prewrap\" style=\"max-height: 600px\">
  577. {{- 'Subject: ' ~ notification.getSubject() }}<br/>
  578. {{- 'Content: ' ~ notification.getContent() }}<br/>
  579. {{- 'Importance: ' ~ notification.getImportance() }}<br/>
  580. {{- 'Emoji: ' ~ (notification.getEmoji() is empty ? '(empty)' : notification.getEmoji()) }}<br/>
  581. {{- 'Exception: ' ~ (notification.getException() ?? '(empty)') }}<br/>
  582. {{- 'ExceptionAsString: ' ~ (notification.getExceptionAsString() is empty ? '(empty)' : notification.getExceptionAsString()) }}
  583. </pre>
  584. </div>
  585. </div>
  586. {% endif %}
  587. <div class=\"tab\">
  588. <h3 class=\"tab-title\">Message Options</h3>
  589. <div class=\"tab-content\">
  590. <pre class=\"prewrap\" style=\"max-height: 600px\">
  591. {%- if message.getOptions() is null %}
  592. {{- '(empty)' }}
  593. {%- else %}
  594. {{- message.getOptions()|json_encode(constant('JSON_PRETTY_PRINT')) }}
  595. {%- endif %}
  596. </pre>
  597. </div>
  598. </div>
  599. </div>
  600. </div>
  601. </div>
  602. </div>
  603. </div>
  604. {% endfor %}
  605. </div>
  606. </div>
  607. {% endfor %}
  608. {% endblock %}
  609. ", "@WebProfiler/Collector/notifier.html.twig", "/Volumes/madi/opt/madi/www/geopos_proj/vendor/symfony/web-profiler-bundle/Resources/views/Collector/notifier.html.twig");
  610. }
  611. }