@@ -203,10 +203,10 @@ discard block |
||
| 203 | 203 | $context['_parent'] = $context; |
| 204 | 204 | $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 31, $this->getSourceContext()); })())); |
| 205 | 205 | $context['loop'] = array( |
| 206 | - 'parent' => $context['_parent'], |
|
| 207 | - 'index0' => 0, |
|
| 208 | - 'index' => 1, |
|
| 209 | - 'first' => true, |
|
| 206 | + 'parent' => $context['_parent'], |
|
| 207 | + 'index0' => 0, |
|
| 208 | + 'index' => 1, |
|
| 209 | + 'first' => true, |
|
| 210 | 210 | ); |
| 211 | 211 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 212 | 212 | $length = count($context['_seq']); |
@@ -358,10 +358,10 @@ discard block |
||
| 358 | 358 | $context['_parent'] = $context; |
| 359 | 359 | $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 64, $this->getSourceContext()); })()), "parameters", array())); |
| 360 | 360 | $context['loop'] = array( |
| 361 | - 'parent' => $context['_parent'], |
|
| 362 | - 'index0' => 0, |
|
| 363 | - 'index' => 1, |
|
| 364 | - 'first' => true, |
|
| 361 | + 'parent' => $context['_parent'], |
|
| 362 | + 'index0' => 0, |
|
| 363 | + 'index' => 1, |
|
| 364 | + 'first' => true, |
|
| 365 | 365 | ); |
| 366 | 366 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 367 | 367 | $length = count($context['_seq']); |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | try { |
| 68 | 68 | // line 2 |
| 69 | 69 | echo "<a href=\""; |
| 70 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })())); |
|
| 70 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function() { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })())); |
|
| 71 | 71 | echo "\">"; |
| 72 | - echo (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })()); |
|
| 72 | + echo (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function() { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })()); |
|
| 73 | 73 | echo "</a>"; |
| 74 | 74 | |
| 75 | 75 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
@@ -92,22 +92,22 @@ discard block |
||
| 92 | 92 | ob_start(); |
| 93 | 93 | try { |
| 94 | 94 | // line 6 |
| 95 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 6, $this->getSourceContext()); })()), "projectclass", array())) { |
|
| 95 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 6, $this->getSourceContext()); })()), "projectclass", array())) { |
|
| 96 | 96 | // line 7 |
| 97 | 97 | echo "<a href=\""; |
| 98 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForClass($context, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 7, $this->getSourceContext()); })())); |
|
| 98 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForClass($context, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 7, $this->getSourceContext()); })())); |
|
| 99 | 99 | echo "\">"; |
| 100 | - } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 8 |
|
| 101 | -(isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 8, $this->getSourceContext()); })()), "phpclass", array())) { |
|
| 100 | + } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 8 |
|
| 101 | +(isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 8, $this->getSourceContext()); })()), "phpclass", array())) { |
|
| 102 | 102 | // line 9 |
| 103 | 103 | echo "<a target=\"_blank\" href=\"http://php.net/"; |
| 104 | - echo (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 9, $this->getSourceContext()); })()); |
|
| 104 | + echo (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 9, $this->getSourceContext()); })()); |
|
| 105 | 105 | echo "\">"; |
| 106 | 106 | } |
| 107 | 107 | // line 11 |
| 108 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), false)) : (false))); |
|
| 108 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function() { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), false)) : (false))); |
|
| 109 | 109 | // line 12 |
| 110 | - if ((twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "projectclass", array()) || twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "phpclass", array()))) { |
|
| 110 | + if ((twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "projectclass", array()) || twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "phpclass", array()))) { |
|
| 111 | 111 | echo "</a>"; |
| 112 | 112 | } |
| 113 | 113 | |
@@ -133,13 +133,13 @@ discard block |
||
| 133 | 133 | try { |
| 134 | 134 | // line 16 |
| 135 | 135 | echo "<a href=\""; |
| 136 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 16, $this->getSourceContext()); })())); |
|
| 136 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 16, $this->getSourceContext()); })())); |
|
| 137 | 137 | echo "\">"; |
| 138 | 138 | // line 17 |
| 139 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array())); |
|
| 140 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) { |
|
| 139 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array())); |
|
| 140 | + if (!((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function() { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) { |
|
| 141 | 141 | echo "::"; |
| 142 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array()); |
|
| 142 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array()); |
|
| 143 | 143 | } |
| 144 | 144 | // line 18 |
| 145 | 145 | echo "</a>"; |
@@ -166,13 +166,13 @@ discard block |
||
| 166 | 166 | try { |
| 167 | 167 | // line 22 |
| 168 | 168 | echo "<a href=\""; |
| 169 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForProperty($context, (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 22, $this->getSourceContext()); })())); |
|
| 169 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForProperty($context, (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function() { throw new Twig_Error_Runtime('Variable "property" does not exist.', 22, $this->getSourceContext()); })())); |
|
| 170 | 170 | echo "\">"; |
| 171 | 171 | // line 23 |
| 172 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array())); |
|
| 173 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) { |
|
| 172 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function() { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array())); |
|
| 173 | + if (!((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function() { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) { |
|
| 174 | 174 | echo "#"; |
| 175 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array()); |
|
| 175 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function() { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array()); |
|
| 176 | 176 | } |
| 177 | 177 | // line 24 |
| 178 | 178 | echo "</a>"; |
@@ -198,10 +198,10 @@ discard block |
||
| 198 | 198 | // line 28 |
| 199 | 199 | $context["__internal_11b86fda8ebd919c9af0a60177e0d5b57cba2f43be784e41c659847cb36c2ed3"] = $this; |
| 200 | 200 | // line 30 |
| 201 | - if ((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 30, $this->getSourceContext()); })())) { |
|
| 201 | + if ((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function() { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 30, $this->getSourceContext()); })())) { |
|
| 202 | 202 | // line 31 |
| 203 | 203 | $context['_parent'] = $context; |
| 204 | - $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 31, $this->getSourceContext()); })())); |
|
| 204 | + $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function() { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 31, $this->getSourceContext()); })())); |
|
| 205 | 205 | $context['loop'] = array( |
| 206 | 206 | 'parent' => $context['_parent'], |
| 207 | 207 | 'index0' => 0, |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "class", array())) { |
| 221 | 221 | // line 33 |
| 222 | 222 | echo $context["__internal_11b86fda8ebd919c9af0a60177e0d5b57cba2f43be784e41c659847cb36c2ed3"]->macro_class_link(twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "name", array())); |
| 223 | - } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 34 |
|
| 223 | + } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 34 |
|
| 224 | 224 | $context["hint"], "name", array())) { |
| 225 | 225 | // line 35 |
| 226 | 226 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "name", array())); |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | echo "[]"; |
| 231 | 231 | } |
| 232 | 232 | // line 38 |
| 233 | - if ( !twig_get_attribute($this->env, $this->getSourceContext(), $context["loop"], "last", array())) { |
|
| 233 | + if (!twig_get_attribute($this->env, $this->getSourceContext(), $context["loop"], "last", array())) { |
|
| 234 | 234 | echo "|"; |
| 235 | 235 | } |
| 236 | 236 | ++$context['loop']['index0']; |
@@ -267,10 +267,10 @@ discard block |
||
| 267 | 267 | ob_start(); |
| 268 | 268 | try { |
| 269 | 269 | // line 44 |
| 270 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 44, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 270 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 44, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 271 | 271 | // line 45 |
| 272 | 272 | echo " (<a href=\""; |
| 273 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 273 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 274 | 274 | echo "\">View source</a>)"; |
| 275 | 275 | } |
| 276 | 276 | |
@@ -293,17 +293,17 @@ discard block |
||
| 293 | 293 | ob_start(); |
| 294 | 294 | try { |
| 295 | 295 | // line 50 |
| 296 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 50, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 296 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 50, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 297 | 297 | // line 51 |
| 298 | 298 | echo " <a href=\""; |
| 299 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 299 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 300 | 300 | echo "\">line "; |
| 301 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "line", array()); |
|
| 301 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "line", array()); |
|
| 302 | 302 | echo "</a>"; |
| 303 | 303 | } else { |
| 304 | 304 | // line 53 |
| 305 | 305 | echo " line "; |
| 306 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 53, $this->getSourceContext()); })()), "line", array()); |
|
| 306 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 53, $this->getSourceContext()); })()), "line", array()); |
|
| 307 | 307 | } |
| 308 | 308 | |
| 309 | 309 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
@@ -327,9 +327,9 @@ discard block |
||
| 327 | 327 | try { |
| 328 | 328 | // line 58 |
| 329 | 329 | echo "<abbr title=\""; |
| 330 | - echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", null, true); |
|
| 330 | + echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", null, true); |
|
| 331 | 331 | echo "\">"; |
| 332 | - echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), false)) : (false))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", null, true); |
|
| 332 | + echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function() { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), false)) : (false))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function() { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", null, true); |
|
| 333 | 333 | echo "</abbr>"; |
| 334 | 334 | |
| 335 | 335 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | echo "("; |
| 357 | 357 | // line 64 |
| 358 | 358 | $context['_parent'] = $context; |
| 359 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 64, $this->getSourceContext()); })()), "parameters", array())); |
|
| 359 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function() { throw new Twig_Error_Runtime('Variable "method" does not exist.', 64, $this->getSourceContext()); })()), "parameters", array())); |
|
| 360 | 360 | $context['loop'] = array( |
| 361 | 361 | 'parent' => $context['_parent'], |
| 362 | 362 | 'index0' => 0, |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), $context["parameter"], "default", array()), "html", null, true); |
| 386 | 386 | } |
| 387 | 387 | // line 68 |
| 388 | - if ( !twig_get_attribute($this->env, $this->getSourceContext(), $context["loop"], "last", array())) { |
|
| 388 | + if (!twig_get_attribute($this->env, $this->getSourceContext(), $context["loop"], "last", array())) { |
|
| 389 | 389 | echo ", "; |
| 390 | 390 | } |
| 391 | 391 | ++$context['loop']['index0']; |
@@ -429,7 +429,7 @@ discard block |
||
| 429 | 429 | "; |
| 430 | 430 | // line 77 |
| 431 | 431 | $context['_parent'] = $context; |
| 432 | - $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 77, $this->getSourceContext()); })())); |
|
| 432 | + $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function() { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 77, $this->getSourceContext()); })())); |
|
| 433 | 433 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
| 434 | 434 | // line 78 |
| 435 | 435 | echo " <div class=\"row\"> |
@@ -493,14 +493,14 @@ discard block |
||
| 493 | 493 | // line 97 |
| 494 | 494 | echo " "; |
| 495 | 495 | $context['_parent'] = $context; |
| 496 | - $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 97, $this->getSourceContext()); })()), "\\")); |
|
| 496 | + $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function() { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 97, $this->getSourceContext()); })()), "\\")); |
|
| 497 | 497 | foreach ($context['_seq'] as $context["_key"] => $context["ns"]) { |
| 498 | 498 | // line 98 |
| 499 | 499 | echo " "; |
| 500 | - if ((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 98, $this->getSourceContext()); })())) { |
|
| 500 | + if ((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function() { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 98, $this->getSourceContext()); })())) { |
|
| 501 | 501 | // line 99 |
| 502 | 502 | echo " "; |
| 503 | - $context["current_ns"] = (((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 99, $this->getSourceContext()); })()) . "\\") . $context["ns"]); |
|
| 503 | + $context["current_ns"] = (((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function() { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 99, $this->getSourceContext()); })()) . "\\") . $context["ns"]); |
|
| 504 | 504 | // line 100 |
| 505 | 505 | echo " "; |
| 506 | 506 | } else { |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | } |
| 513 | 513 | // line 103 |
| 514 | 514 | echo " <li><a href=\""; |
| 515 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 103, $this->getSourceContext()); })())); |
|
| 515 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function() { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 103, $this->getSourceContext()); })())); |
|
| 516 | 516 | echo "\">"; |
| 517 | 517 | echo $context["ns"]; |
| 518 | 518 | echo "</a></li> |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | try { |
| 543 | 543 | // line 108 |
| 544 | 544 | echo " "; |
| 545 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 108, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 545 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function() { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 108, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 546 | 546 | echo "<small><sup><span class=\"label label-danger\">deprecated</span></sup></small>"; |
| 547 | 547 | } |
| 548 | 548 | |
@@ -571,17 +571,17 @@ discard block |
||
| 571 | 571 | echo " |
| 572 | 572 | "; |
| 573 | 573 | // line 114 |
| 574 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 114, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 574 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function() { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 114, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 575 | 575 | // line 115 |
| 576 | 576 | echo " <p> |
| 577 | 577 | "; |
| 578 | 578 | // line 116 |
| 579 | - echo $context["__internal_0b6812856cc304260898be8fa8c37360a3feb2053dd47484c7b92e756edf83ce"]->macro_deprecated((isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 116, $this->getSourceContext()); })())); |
|
| 579 | + echo $context["__internal_0b6812856cc304260898be8fa8c37360a3feb2053dd47484c7b92e756edf83ce"]->macro_deprecated((isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function() { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 116, $this->getSourceContext()); })())); |
|
| 580 | 580 | echo " |
| 581 | 581 | "; |
| 582 | 582 | // line 117 |
| 583 | 583 | $context['_parent'] = $context; |
| 584 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 117, $this->getSourceContext()); })()), "deprecated", array())); |
|
| 584 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function() { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 117, $this->getSourceContext()); })()), "deprecated", array())); |
|
| 585 | 585 | foreach ($context['_seq'] as $context["_key"] => $context["tag"]) { |
| 586 | 586 | // line 118 |
| 587 | 587 | echo " <tr> |
@@ -622,7 +622,7 @@ discard block |
||
| 622 | 622 | |
| 623 | 623 | public function getDebugInfo() |
| 624 | 624 | { |
| 625 | - return array ( 603 => 123, 594 => 120, 590 => 119, 587 => 118, 583 => 117, 579 => 116, 576 => 115, 574 => 114, 571 => 113, 568 => 112, 556 => 111, 544 => 108, 532 => 107, 514 => 103, 511 => 102, 508 => 101, 505 => 100, 502 => 99, 499 => 98, 494 => 97, 491 => 96, 479 => 95, 470 => 92, 460 => 88, 453 => 85, 447 => 83, 441 => 81, 439 => 80, 435 => 78, 431 => 77, 427 => 75, 425 => 74, 413 => 73, 404 => 70, 388 => 68, 383 => 67, 380 => 66, 375 => 65, 358 => 64, 356 => 63, 354 => 62, 342 => 61, 329 => 58, 316 => 57, 305 => 53, 298 => 51, 296 => 50, 284 => 49, 272 => 45, 270 => 44, 257 => 43, 233 => 38, 229 => 37, 226 => 35, 224 => 34, 222 => 33, 220 => 32, 203 => 31, 201 => 30, 199 => 28, 187 => 27, 178 => 24, 172 => 23, 168 => 22, 154 => 21, 145 => 18, 139 => 17, 135 => 16, 121 => 15, 110 => 12, 108 => 11, 103 => 9, 101 => 8, 97 => 7, 95 => 6, 82 => 5, 69 => 2, 57 => 1, 52 => 110, 49 => 106, 46 => 94, 43 => 72, 40 => 60, 37 => 56, 34 => 48, 31 => 42, 28 => 26, 25 => 20, 22 => 14, 19 => 4,); |
|
| 625 | + return array(603 => 123, 594 => 120, 590 => 119, 587 => 118, 583 => 117, 579 => 116, 576 => 115, 574 => 114, 571 => 113, 568 => 112, 556 => 111, 544 => 108, 532 => 107, 514 => 103, 511 => 102, 508 => 101, 505 => 100, 502 => 99, 499 => 98, 494 => 97, 491 => 96, 479 => 95, 470 => 92, 460 => 88, 453 => 85, 447 => 83, 441 => 81, 439 => 80, 435 => 78, 431 => 77, 427 => 75, 425 => 74, 413 => 73, 404 => 70, 388 => 68, 383 => 67, 380 => 66, 375 => 65, 358 => 64, 356 => 63, 354 => 62, 342 => 61, 329 => 58, 316 => 57, 305 => 53, 298 => 51, 296 => 50, 284 => 49, 272 => 45, 270 => 44, 257 => 43, 233 => 38, 229 => 37, 226 => 35, 224 => 34, 222 => 33, 220 => 32, 203 => 31, 201 => 30, 199 => 28, 187 => 27, 178 => 24, 172 => 23, 168 => 22, 154 => 21, 145 => 18, 139 => 17, 135 => 16, 121 => 15, 110 => 12, 108 => 11, 103 => 9, 101 => 8, 97 => 7, 95 => 6, 82 => 5, 69 => 2, 57 => 1, 52 => 110, 49 => 106, 46 => 94, 43 => 72, 40 => 60, 37 => 56, 34 => 48, 31 => 42, 28 => 26, 25 => 20, 22 => 14, 19 => 4,); |
|
| 626 | 626 | } |
| 627 | 627 | |
| 628 | 628 | public function getSourceContext() |
@@ -3,8 +3,7 @@ discard block |
||
| 3 | 3 | /* macros.twig */ |
| 4 | 4 | class __TwigTemplate_0c98c7d9efdade68f1155a74052b73d36eef0cc95665e5dce2e9d330ca46289c extends Twig_Template |
| 5 | 5 | { |
| 6 | - public function __construct(Twig_Environment $env) |
|
| 7 | - { |
|
| 6 | + public function __construct(Twig_Environment $env) { |
|
| 8 | 7 | parent::__construct($env); |
| 9 | 8 | |
| 10 | 9 | $this->parent = false; |
@@ -13,8 +12,7 @@ discard block |
||
| 13 | 12 | ); |
| 14 | 13 | } |
| 15 | 14 | |
| 16 | - protected function doDisplay(array $context, array $blocks = array()) |
|
| 17 | - { |
|
| 15 | + protected function doDisplay(array $context, array $blocks = array()) { |
|
| 18 | 16 | // line 4 |
| 19 | 17 | echo " |
| 20 | 18 | "; |
@@ -54,8 +52,7 @@ discard block |
||
| 54 | 52 | } |
| 55 | 53 | |
| 56 | 54 | // line 1 |
| 57 | - public function macro_namespace_link($__namespace__ = null, ...$__varargs__) |
|
| 58 | - { |
|
| 55 | + public function macro_namespace_link($__namespace__ = null, ...$__varargs__) { |
|
| 59 | 56 | $context = $this->env->mergeGlobals(array( |
| 60 | 57 | "namespace" => $__namespace__, |
| 61 | 58 | "varargs" => $__varargs__, |
@@ -67,20 +64,24 @@ discard block |
||
| 67 | 64 | try { |
| 68 | 65 | // line 2 |
| 69 | 66 | echo "<a href=\""; |
| 70 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })())); |
|
| 67 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () |
|
| 68 | + { |
|
| 69 | +throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })())); |
|
| 71 | 70 | echo "\">"; |
| 72 | - echo (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })()); |
|
| 71 | + echo (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () |
|
| 72 | + { |
|
| 73 | +throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 2, $this->getSourceContext()); })()); |
|
| 73 | 74 | echo "</a>"; |
| 74 | 75 | |
| 75 | 76 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 76 | - } finally { |
|
| 77 | + } |
|
| 78 | + finally { |
|
| 77 | 79 | ob_end_clean(); |
| 78 | 80 | } |
| 79 | 81 | } |
| 80 | 82 | |
| 81 | 83 | // line 5 |
| 82 | - public function macro_class_link($__class__ = null, $__absolute__ = null, ...$__varargs__) |
|
| 83 | - { |
|
| 84 | + public function macro_class_link($__class__ = null, $__absolute__ = null, ...$__varargs__) { |
|
| 84 | 85 | $context = $this->env->mergeGlobals(array( |
| 85 | 86 | "class" => $__class__, |
| 86 | 87 | "absolute" => $__absolute__, |
@@ -92,34 +93,51 @@ discard block |
||
| 92 | 93 | ob_start(); |
| 93 | 94 | try { |
| 94 | 95 | // line 6 |
| 95 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 6, $this->getSourceContext()); })()), "projectclass", array())) { |
|
| 96 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 97 | + { |
|
| 98 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 6, $this->getSourceContext()); })()), "projectclass", array())) { |
|
| 96 | 99 | // line 7 |
| 97 | 100 | echo "<a href=\""; |
| 98 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForClass($context, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 7, $this->getSourceContext()); })())); |
|
| 101 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForClass($context, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 102 | + { |
|
| 103 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 7, $this->getSourceContext()); })())); |
|
| 99 | 104 | echo "\">"; |
| 100 | - } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 8 |
|
| 101 | -(isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 8, $this->getSourceContext()); })()), "phpclass", array())) { |
|
| 105 | + } |
|
| 106 | + elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 8 |
|
| 107 | +(isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 108 | +{ |
|
| 109 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 8, $this->getSourceContext()); })()), "phpclass", array())) { |
|
| 102 | 110 | // line 9 |
| 103 | 111 | echo "<a target=\"_blank\" href=\"http://php.net/"; |
| 104 | - echo (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 9, $this->getSourceContext()); })()); |
|
| 112 | + echo (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 113 | + { |
|
| 114 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 9, $this->getSourceContext()); })()); |
|
| 105 | 115 | echo "\">"; |
| 106 | 116 | } |
| 107 | 117 | // line 11 |
| 108 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), false)) : (false))); |
|
| 118 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 119 | + { |
|
| 120 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () |
|
| 121 | + { |
|
| 122 | +throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), false)) : (false))); |
|
| 109 | 123 | // line 12 |
| 110 | - if ((twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "projectclass", array()) || twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "phpclass", array()))) { |
|
| 124 | + if ((twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 125 | + { |
|
| 126 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "projectclass", array()) || twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 127 | + { |
|
| 128 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "phpclass", array()))) { |
|
| 111 | 129 | echo "</a>"; |
| 112 | 130 | } |
| 113 | 131 | |
| 114 | 132 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 115 | - } finally { |
|
| 133 | + } |
|
| 134 | + finally { |
|
| 116 | 135 | ob_end_clean(); |
| 117 | 136 | } |
| 118 | 137 | } |
| 119 | 138 | |
| 120 | 139 | // line 15 |
| 121 | - public function macro_method_link($__method__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
| 122 | - { |
|
| 140 | + public function macro_method_link($__method__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) { |
|
| 123 | 141 | $context = $this->env->mergeGlobals(array( |
| 124 | 142 | "method" => $__method__, |
| 125 | 143 | "absolute" => $__absolute__, |
@@ -133,26 +151,34 @@ discard block |
||
| 133 | 151 | try { |
| 134 | 152 | // line 16 |
| 135 | 153 | echo "<a href=\""; |
| 136 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 16, $this->getSourceContext()); })())); |
|
| 154 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 155 | + { |
|
| 156 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 16, $this->getSourceContext()); })())); |
|
| 137 | 157 | echo "\">"; |
| 138 | 158 | // line 17 |
| 139 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array())); |
|
| 140 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) { |
|
| 159 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 160 | + { |
|
| 161 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array())); |
|
| 162 | + if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () |
|
| 163 | + { |
|
| 164 | +throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) { |
|
| 141 | 165 | echo "::"; |
| 142 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array()); |
|
| 166 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 167 | + { |
|
| 168 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array()); |
|
| 143 | 169 | } |
| 144 | 170 | // line 18 |
| 145 | 171 | echo "</a>"; |
| 146 | 172 | |
| 147 | 173 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 148 | - } finally { |
|
| 174 | + } |
|
| 175 | + finally { |
|
| 149 | 176 | ob_end_clean(); |
| 150 | 177 | } |
| 151 | 178 | } |
| 152 | 179 | |
| 153 | 180 | // line 21 |
| 154 | - public function macro_property_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
| 155 | - { |
|
| 181 | + public function macro_property_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) { |
|
| 156 | 182 | $context = $this->env->mergeGlobals(array( |
| 157 | 183 | "property" => $__property__, |
| 158 | 184 | "absolute" => $__absolute__, |
@@ -166,26 +192,34 @@ discard block |
||
| 166 | 192 | try { |
| 167 | 193 | // line 22 |
| 168 | 194 | echo "<a href=\""; |
| 169 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForProperty($context, (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 22, $this->getSourceContext()); })())); |
|
| 195 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForProperty($context, (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () |
|
| 196 | + { |
|
| 197 | +throw new Twig_Error_Runtime('Variable "property" does not exist.', 22, $this->getSourceContext()); })())); |
|
| 170 | 198 | echo "\">"; |
| 171 | 199 | // line 23 |
| 172 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array())); |
|
| 173 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) { |
|
| 200 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () |
|
| 201 | + { |
|
| 202 | +throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array())); |
|
| 203 | + if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () |
|
| 204 | + { |
|
| 205 | +throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) { |
|
| 174 | 206 | echo "#"; |
| 175 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array()); |
|
| 207 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () |
|
| 208 | + { |
|
| 209 | +throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array()); |
|
| 176 | 210 | } |
| 177 | 211 | // line 24 |
| 178 | 212 | echo "</a>"; |
| 179 | 213 | |
| 180 | 214 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 181 | - } finally { |
|
| 215 | + } |
|
| 216 | + finally { |
|
| 182 | 217 | ob_end_clean(); |
| 183 | 218 | } |
| 184 | 219 | } |
| 185 | 220 | |
| 186 | 221 | // line 27 |
| 187 | - public function macro_hint_link($__hints__ = null, ...$__varargs__) |
|
| 188 | - { |
|
| 222 | + public function macro_hint_link($__hints__ = null, ...$__varargs__) { |
|
| 189 | 223 | $context = $this->env->mergeGlobals(array( |
| 190 | 224 | "hints" => $__hints__, |
| 191 | 225 | "varargs" => $__varargs__, |
@@ -198,10 +232,14 @@ discard block |
||
| 198 | 232 | // line 28 |
| 199 | 233 | $context["__internal_11b86fda8ebd919c9af0a60177e0d5b57cba2f43be784e41c659847cb36c2ed3"] = $this; |
| 200 | 234 | // line 30 |
| 201 | - if ((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 30, $this->getSourceContext()); })())) { |
|
| 235 | + if ((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () |
|
| 236 | + { |
|
| 237 | +throw new Twig_Error_Runtime('Variable "hints" does not exist.', 30, $this->getSourceContext()); })())) { |
|
| 202 | 238 | // line 31 |
| 203 | 239 | $context['_parent'] = $context; |
| 204 | - $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () { throw new Twig_Error_Runtime('Variable "hints" does not exist.', 31, $this->getSourceContext()); })())); |
|
| 240 | + $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) || array_key_exists("hints", $context) ? $context["hints"] : (function () |
|
| 241 | + { |
|
| 242 | +throw new Twig_Error_Runtime('Variable "hints" does not exist.', 31, $this->getSourceContext()); })())); |
|
| 205 | 243 | $context['loop'] = array( |
| 206 | 244 | 'parent' => $context['_parent'], |
| 207 | 245 | 'index0' => 0, |
@@ -220,7 +258,8 @@ discard block |
||
| 220 | 258 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "class", array())) { |
| 221 | 259 | // line 33 |
| 222 | 260 | echo $context["__internal_11b86fda8ebd919c9af0a60177e0d5b57cba2f43be784e41c659847cb36c2ed3"]->macro_class_link(twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "name", array())); |
| 223 | - } elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 34 |
|
| 261 | + } |
|
| 262 | + elseif (twig_get_attribute($this->env, $this->getSourceContext(), // line 34 |
|
| 224 | 263 | $context["hint"], "name", array())) { |
| 225 | 264 | // line 35 |
| 226 | 265 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), $context["hint"], "name", array())); |
@@ -248,14 +287,14 @@ discard block |
||
| 248 | 287 | } |
| 249 | 288 | |
| 250 | 289 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 251 | - } finally { |
|
| 290 | + } |
|
| 291 | + finally { |
|
| 252 | 292 | ob_end_clean(); |
| 253 | 293 | } |
| 254 | 294 | } |
| 255 | 295 | |
| 256 | 296 | // line 43 |
| 257 | - public function macro_source_link($__project__ = null, $__class__ = null, ...$__varargs__) |
|
| 258 | - { |
|
| 297 | + public function macro_source_link($__project__ = null, $__class__ = null, ...$__varargs__) { |
|
| 259 | 298 | $context = $this->env->mergeGlobals(array( |
| 260 | 299 | "project" => $__project__, |
| 261 | 300 | "class" => $__class__, |
@@ -267,22 +306,26 @@ discard block |
||
| 267 | 306 | ob_start(); |
| 268 | 307 | try { |
| 269 | 308 | // line 44 |
| 270 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 44, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 309 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 310 | + { |
|
| 311 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 44, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 271 | 312 | // line 45 |
| 272 | 313 | echo " (<a href=\""; |
| 273 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 314 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 315 | + { |
|
| 316 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 274 | 317 | echo "\">View source</a>)"; |
| 275 | 318 | } |
| 276 | 319 | |
| 277 | 320 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 278 | - } finally { |
|
| 321 | + } |
|
| 322 | + finally { |
|
| 279 | 323 | ob_end_clean(); |
| 280 | 324 | } |
| 281 | 325 | } |
| 282 | 326 | |
| 283 | 327 | // line 49 |
| 284 | - public function macro_method_source_link($__method__ = null, ...$__varargs__) |
|
| 285 | - { |
|
| 328 | + public function macro_method_source_link($__method__ = null, ...$__varargs__) { |
|
| 286 | 329 | $context = $this->env->mergeGlobals(array( |
| 287 | 330 | "method" => $__method__, |
| 288 | 331 | "varargs" => $__varargs__, |
@@ -293,28 +336,37 @@ discard block |
||
| 293 | 336 | ob_start(); |
| 294 | 337 | try { |
| 295 | 338 | // line 50 |
| 296 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 50, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 339 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 340 | + { |
|
| 341 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 50, $this->getSourceContext()); })()), "sourcepath", array())) { |
|
| 297 | 342 | // line 51 |
| 298 | 343 | echo " <a href=\""; |
| 299 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 344 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 345 | + { |
|
| 346 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 300 | 347 | echo "\">line "; |
| 301 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "line", array()); |
|
| 348 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 349 | + { |
|
| 350 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "line", array()); |
|
| 302 | 351 | echo "</a>"; |
| 303 | - } else { |
|
| 352 | + } |
|
| 353 | + else { |
|
| 304 | 354 | // line 53 |
| 305 | 355 | echo " line "; |
| 306 | - echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 53, $this->getSourceContext()); })()), "line", array()); |
|
| 356 | + echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 357 | + { |
|
| 358 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 53, $this->getSourceContext()); })()), "line", array()); |
|
| 307 | 359 | } |
| 308 | 360 | |
| 309 | 361 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 310 | - } finally { |
|
| 362 | + } |
|
| 363 | + finally { |
|
| 311 | 364 | ob_end_clean(); |
| 312 | 365 | } |
| 313 | 366 | } |
| 314 | 367 | |
| 315 | 368 | // line 57 |
| 316 | - public function macro_abbr_class($__class__ = null, $__absolute__ = null, ...$__varargs__) |
|
| 317 | - { |
|
| 369 | + public function macro_abbr_class($__class__ = null, $__absolute__ = null, ...$__varargs__) { |
|
| 318 | 370 | $context = $this->env->mergeGlobals(array( |
| 319 | 371 | "class" => $__class__, |
| 320 | 372 | "absolute" => $__absolute__, |
@@ -327,20 +379,28 @@ discard block |
||
| 327 | 379 | try { |
| 328 | 380 | // line 58 |
| 329 | 381 | echo "<abbr title=\""; |
| 330 | - echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", null, true); |
|
| 382 | + echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 383 | + { |
|
| 384 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", null, true); |
|
| 331 | 385 | echo "\">"; |
| 332 | - echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), false)) : (false))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", null, true); |
|
| 386 | + echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () |
|
| 387 | + { |
|
| 388 | +throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), false)) : (false))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 389 | + { |
|
| 390 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
| 391 | + { |
|
| 392 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", null, true); |
|
| 333 | 393 | echo "</abbr>"; |
| 334 | 394 | |
| 335 | 395 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 336 | - } finally { |
|
| 396 | + } |
|
| 397 | + finally { |
|
| 337 | 398 | ob_end_clean(); |
| 338 | 399 | } |
| 339 | 400 | } |
| 340 | 401 | |
| 341 | 402 | // line 61 |
| 342 | - public function macro_method_parameters_signature($__method__ = null, ...$__varargs__) |
|
| 343 | - { |
|
| 403 | + public function macro_method_parameters_signature($__method__ = null, ...$__varargs__) { |
|
| 344 | 404 | $context = $this->env->mergeGlobals(array( |
| 345 | 405 | "method" => $__method__, |
| 346 | 406 | "varargs" => $__varargs__, |
@@ -356,7 +416,9 @@ discard block |
||
| 356 | 416 | echo "("; |
| 357 | 417 | // line 64 |
| 358 | 418 | $context['_parent'] = $context; |
| 359 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 64, $this->getSourceContext()); })()), "parameters", array())); |
|
| 419 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () |
|
| 420 | + { |
|
| 421 | +throw new Twig_Error_Runtime('Variable "method" does not exist.', 64, $this->getSourceContext()); })()), "parameters", array())); |
|
| 360 | 422 | $context['loop'] = array( |
| 361 | 423 | 'parent' => $context['_parent'], |
| 362 | 424 | 'index0' => 0, |
@@ -404,14 +466,14 @@ discard block |
||
| 404 | 466 | echo ")"; |
| 405 | 467 | |
| 406 | 468 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 407 | - } finally { |
|
| 469 | + } |
|
| 470 | + finally { |
|
| 408 | 471 | ob_end_clean(); |
| 409 | 472 | } |
| 410 | 473 | } |
| 411 | 474 | |
| 412 | 475 | // line 73 |
| 413 | - public function macro_render_classes($__classes__ = null, ...$__varargs__) |
|
| 414 | - { |
|
| 476 | + public function macro_render_classes($__classes__ = null, ...$__varargs__) { |
|
| 415 | 477 | $context = $this->env->mergeGlobals(array( |
| 416 | 478 | "classes" => $__classes__, |
| 417 | 479 | "varargs" => $__varargs__, |
@@ -429,7 +491,9 @@ discard block |
||
| 429 | 491 | "; |
| 430 | 492 | // line 77 |
| 431 | 493 | $context['_parent'] = $context; |
| 432 | - $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 77, $this->getSourceContext()); })())); |
|
| 494 | + $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () |
|
| 495 | + { |
|
| 496 | +throw new Twig_Error_Runtime('Variable "classes" does not exist.', 77, $this->getSourceContext()); })())); |
|
| 433 | 497 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
| 434 | 498 | // line 78 |
| 435 | 499 | echo " <div class=\"row\"> |
@@ -442,7 +506,8 @@ discard block |
||
| 442 | 506 | echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], true); |
| 443 | 507 | echo "</em> |
| 444 | 508 | "; |
| 445 | - } else { |
|
| 509 | + } |
|
| 510 | + else { |
|
| 446 | 511 | // line 83 |
| 447 | 512 | echo " "; |
| 448 | 513 | echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], true); |
@@ -470,14 +535,14 @@ discard block |
||
| 470 | 535 | echo " </div>"; |
| 471 | 536 | |
| 472 | 537 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 473 | - } finally { |
|
| 538 | + } |
|
| 539 | + finally { |
|
| 474 | 540 | ob_end_clean(); |
| 475 | 541 | } |
| 476 | 542 | } |
| 477 | 543 | |
| 478 | 544 | // line 95 |
| 479 | - public function macro_breadcrumbs($__namespace__ = null, ...$__varargs__) |
|
| 480 | - { |
|
| 545 | + public function macro_breadcrumbs($__namespace__ = null, ...$__varargs__) { |
|
| 481 | 546 | $context = $this->env->mergeGlobals(array( |
| 482 | 547 | "namespace" => $__namespace__, |
| 483 | 548 | "varargs" => $__varargs__, |
@@ -493,17 +558,24 @@ discard block |
||
| 493 | 558 | // line 97 |
| 494 | 559 | echo " "; |
| 495 | 560 | $context['_parent'] = $context; |
| 496 | - $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () { throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 97, $this->getSourceContext()); })()), "\\")); |
|
| 561 | + $context['_seq'] = twig_ensure_traversable(twig_split_filter($this->env, (isset($context["namespace"]) || array_key_exists("namespace", $context) ? $context["namespace"] : (function () |
|
| 562 | + { |
|
| 563 | +throw new Twig_Error_Runtime('Variable "namespace" does not exist.', 97, $this->getSourceContext()); })()), "\\")); |
|
| 497 | 564 | foreach ($context['_seq'] as $context["_key"] => $context["ns"]) { |
| 498 | 565 | // line 98 |
| 499 | 566 | echo " "; |
| 500 | - if ((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 98, $this->getSourceContext()); })())) { |
|
| 567 | + if ((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () |
|
| 568 | + { |
|
| 569 | +throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 98, $this->getSourceContext()); })())) { |
|
| 501 | 570 | // line 99 |
| 502 | 571 | echo " "; |
| 503 | - $context["current_ns"] = (((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 99, $this->getSourceContext()); })()) . "\\") . $context["ns"]); |
|
| 572 | + $context["current_ns"] = (((isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () |
|
| 573 | + { |
|
| 574 | +throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 99, $this->getSourceContext()); })()) . "\\") . $context["ns"]); |
|
| 504 | 575 | // line 100 |
| 505 | 576 | echo " "; |
| 506 | - } else { |
|
| 577 | + } |
|
| 578 | + else { |
|
| 507 | 579 | // line 101 |
| 508 | 580 | echo " "; |
| 509 | 581 | $context["current_ns"] = $context["ns"]; |
@@ -512,7 +584,9 @@ discard block |
||
| 512 | 584 | } |
| 513 | 585 | // line 103 |
| 514 | 586 | echo " <li><a href=\""; |
| 515 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () { throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 103, $this->getSourceContext()); })())); |
|
| 587 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, (isset($context["current_ns"]) || array_key_exists("current_ns", $context) ? $context["current_ns"] : (function () |
|
| 588 | + { |
|
| 589 | +throw new Twig_Error_Runtime('Variable "current_ns" does not exist.', 103, $this->getSourceContext()); })())); |
|
| 516 | 590 | echo "\">"; |
| 517 | 591 | echo $context["ns"]; |
| 518 | 592 | echo "</a></li> |
@@ -523,14 +597,14 @@ discard block |
||
| 523 | 597 | $context = array_intersect_key($context, $_parent) + $_parent; |
| 524 | 598 | |
| 525 | 599 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 526 | - } finally { |
|
| 600 | + } |
|
| 601 | + finally { |
|
| 527 | 602 | ob_end_clean(); |
| 528 | 603 | } |
| 529 | 604 | } |
| 530 | 605 | |
| 531 | 606 | // line 107 |
| 532 | - public function macro_deprecated($__reflection__ = null, ...$__varargs__) |
|
| 533 | - { |
|
| 607 | + public function macro_deprecated($__reflection__ = null, ...$__varargs__) { |
|
| 534 | 608 | $context = $this->env->mergeGlobals(array( |
| 535 | 609 | "reflection" => $__reflection__, |
| 536 | 610 | "varargs" => $__varargs__, |
@@ -542,19 +616,21 @@ discard block |
||
| 542 | 616 | try { |
| 543 | 617 | // line 108 |
| 544 | 618 | echo " "; |
| 545 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 108, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 619 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () |
|
| 620 | + { |
|
| 621 | +throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 108, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 546 | 622 | echo "<small><sup><span class=\"label label-danger\">deprecated</span></sup></small>"; |
| 547 | 623 | } |
| 548 | 624 | |
| 549 | 625 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 550 | - } finally { |
|
| 626 | + } |
|
| 627 | + finally { |
|
| 551 | 628 | ob_end_clean(); |
| 552 | 629 | } |
| 553 | 630 | } |
| 554 | 631 | |
| 555 | 632 | // line 111 |
| 556 | - public function macro_deprecations($__reflection__ = null, ...$__varargs__) |
|
| 557 | - { |
|
| 633 | + public function macro_deprecations($__reflection__ = null, ...$__varargs__) { |
|
| 558 | 634 | $context = $this->env->mergeGlobals(array( |
| 559 | 635 | "reflection" => $__reflection__, |
| 560 | 636 | "varargs" => $__varargs__, |
@@ -571,17 +647,23 @@ discard block |
||
| 571 | 647 | echo " |
| 572 | 648 | "; |
| 573 | 649 | // line 114 |
| 574 | - if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 114, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 650 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () |
|
| 651 | + { |
|
| 652 | +throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 114, $this->getSourceContext()); })()), "deprecated", array())) { |
|
| 575 | 653 | // line 115 |
| 576 | 654 | echo " <p> |
| 577 | 655 | "; |
| 578 | 656 | // line 116 |
| 579 | - echo $context["__internal_0b6812856cc304260898be8fa8c37360a3feb2053dd47484c7b92e756edf83ce"]->macro_deprecated((isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 116, $this->getSourceContext()); })())); |
|
| 657 | + echo $context["__internal_0b6812856cc304260898be8fa8c37360a3feb2053dd47484c7b92e756edf83ce"]->macro_deprecated((isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () |
|
| 658 | + { |
|
| 659 | +throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 116, $this->getSourceContext()); })())); |
|
| 580 | 660 | echo " |
| 581 | 661 | "; |
| 582 | 662 | // line 117 |
| 583 | 663 | $context['_parent'] = $context; |
| 584 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () { throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 117, $this->getSourceContext()); })()), "deprecated", array())); |
|
| 664 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["reflection"]) || array_key_exists("reflection", $context) ? $context["reflection"] : (function () |
|
| 665 | + { |
|
| 666 | +throw new Twig_Error_Runtime('Variable "reflection" does not exist.', 117, $this->getSourceContext()); })()), "deprecated", array())); |
|
| 585 | 667 | foreach ($context['_seq'] as $context["_key"] => $context["tag"]) { |
| 586 | 668 | // line 118 |
| 587 | 669 | echo " <tr> |
@@ -605,28 +687,25 @@ discard block |
||
| 605 | 687 | } |
| 606 | 688 | |
| 607 | 689 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
| 608 | - } finally { |
|
| 690 | + } |
|
| 691 | + finally { |
|
| 609 | 692 | ob_end_clean(); |
| 610 | 693 | } |
| 611 | 694 | } |
| 612 | 695 | |
| 613 | - public function getTemplateName() |
|
| 614 | - { |
|
| 696 | + public function getTemplateName() { |
|
| 615 | 697 | return "macros.twig"; |
| 616 | 698 | } |
| 617 | 699 | |
| 618 | - public function isTraitable() |
|
| 619 | - { |
|
| 700 | + public function isTraitable() { |
|
| 620 | 701 | return false; |
| 621 | 702 | } |
| 622 | 703 | |
| 623 | - public function getDebugInfo() |
|
| 624 | - { |
|
| 704 | + public function getDebugInfo() { |
|
| 625 | 705 | return array ( 603 => 123, 594 => 120, 590 => 119, 587 => 118, 583 => 117, 579 => 116, 576 => 115, 574 => 114, 571 => 113, 568 => 112, 556 => 111, 544 => 108, 532 => 107, 514 => 103, 511 => 102, 508 => 101, 505 => 100, 502 => 99, 499 => 98, 494 => 97, 491 => 96, 479 => 95, 470 => 92, 460 => 88, 453 => 85, 447 => 83, 441 => 81, 439 => 80, 435 => 78, 431 => 77, 427 => 75, 425 => 74, 413 => 73, 404 => 70, 388 => 68, 383 => 67, 380 => 66, 375 => 65, 358 => 64, 356 => 63, 354 => 62, 342 => 61, 329 => 58, 316 => 57, 305 => 53, 298 => 51, 296 => 50, 284 => 49, 272 => 45, 270 => 44, 257 => 43, 233 => 38, 229 => 37, 226 => 35, 224 => 34, 222 => 33, 220 => 32, 203 => 31, 201 => 30, 199 => 28, 187 => 27, 178 => 24, 172 => 23, 168 => 22, 154 => 21, 145 => 18, 139 => 17, 135 => 16, 121 => 15, 110 => 12, 108 => 11, 103 => 9, 101 => 8, 97 => 7, 95 => 6, 82 => 5, 69 => 2, 57 => 1, 52 => 110, 49 => 106, 46 => 94, 43 => 72, 40 => 60, 37 => 56, 34 => 48, 31 => 42, 28 => 26, 25 => 20, 22 => 14, 19 => 4,); |
| 626 | 706 | } |
| 627 | 707 | |
| 628 | - public function getSourceContext() |
|
| 629 | - { |
|
| 708 | + public function getSourceContext() { |
|
| 630 | 709 | return new Twig_Source("{% macro namespace_link(namespace) -%} |
| 631 | 710 | <a href=\"{{ namespace_path(namespace) }}\">{{ namespace|raw }}</a> |
| 632 | 711 | {%- endmacro %} |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | parent::__construct($env); |
| 9 | 9 | |
| 10 | - $this->parent = false; |
|
| 10 | + $this->parent = FALSE; |
|
| 11 | 11 | |
| 12 | 12 | $this->blocks = array( |
| 13 | 13 | ); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | // line 1 |
| 57 | - public function macro_namespace_link($__namespace__ = null, ...$__varargs__) |
|
| 57 | + public function macro_namespace_link($__namespace__ = NULL, ...$__varargs__) |
|
| 58 | 58 | { |
| 59 | 59 | $context = $this->env->mergeGlobals(array( |
| 60 | 60 | "namespace" => $__namespace__, |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | // line 5 |
| 82 | - public function macro_class_link($__class__ = null, $__absolute__ = null, ...$__varargs__) |
|
| 82 | + public function macro_class_link($__class__ = NULL, $__absolute__ = NULL, ...$__varargs__) |
|
| 83 | 83 | { |
| 84 | 84 | $context = $this->env->mergeGlobals(array( |
| 85 | 85 | "class" => $__class__, |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | echo "\">"; |
| 106 | 106 | } |
| 107 | 107 | // line 11 |
| 108 | - echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), false)) : (false))); |
|
| 108 | + echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 11, $this->getSourceContext()); })()), ((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 11, $this->getSourceContext()); })()), FALSE)) : (FALSE))); |
|
| 109 | 109 | // line 12 |
| 110 | 110 | if ((twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "projectclass", array()) || twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 12, $this->getSourceContext()); })()), "phpclass", array()))) { |
| 111 | 111 | echo "</a>"; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | // line 15 |
| 121 | - public function macro_method_link($__method__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
| 121 | + public function macro_method_link($__method__ = NULL, $__absolute__ = NULL, $__classonly__ = NULL, ...$__varargs__) |
|
| 122 | 122 | { |
| 123 | 123 | $context = $this->env->mergeGlobals(array( |
| 124 | 124 | "method" => $__method__, |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | echo "\">"; |
| 138 | 138 | // line 17 |
| 139 | 139 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "class", array())); |
| 140 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), false)) : (false))) { |
|
| 140 | + if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 17, $this->getSourceContext()); })()), FALSE)) : (FALSE))) { |
|
| 141 | 141 | echo "::"; |
| 142 | 142 | echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 17, $this->getSourceContext()); })()), "name", array()); |
| 143 | 143 | } |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | // line 21 |
| 154 | - public function macro_property_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
| 154 | + public function macro_property_link($__property__ = NULL, $__absolute__ = NULL, $__classonly__ = NULL, ...$__varargs__) |
|
| 155 | 155 | { |
| 156 | 156 | $context = $this->env->mergeGlobals(array( |
| 157 | 157 | "property" => $__property__, |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | echo "\">"; |
| 171 | 171 | // line 23 |
| 172 | 172 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->abbrClass(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "class", array())); |
| 173 | - if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), true)) : (true))) { |
|
| 173 | + if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) || array_key_exists("classonly", $context) ? $context["classonly"] : (function () { throw new Twig_Error_Runtime('Variable "classonly" does not exist.', 23, $this->getSourceContext()); })()), TRUE)) : (TRUE))) { |
|
| 174 | 174 | echo "#"; |
| 175 | 175 | echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["property"]) || array_key_exists("property", $context) ? $context["property"] : (function () { throw new Twig_Error_Runtime('Variable "property" does not exist.', 23, $this->getSourceContext()); })()), "name", array()); |
| 176 | 176 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | // line 27 |
| 187 | - public function macro_hint_link($__hints__ = null, ...$__varargs__) |
|
| 187 | + public function macro_hint_link($__hints__ = NULL, ...$__varargs__) |
|
| 188 | 188 | { |
| 189 | 189 | $context = $this->env->mergeGlobals(array( |
| 190 | 190 | "hints" => $__hints__, |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | 'parent' => $context['_parent'], |
| 207 | 207 | 'index0' => 0, |
| 208 | 208 | 'index' => 1, |
| 209 | - 'first' => true, |
|
| 209 | + 'first' => TRUE, |
|
| 210 | 210 | ); |
| 211 | 211 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 212 | 212 | $length = count($context['_seq']); |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | } |
| 236 | 236 | ++$context['loop']['index0']; |
| 237 | 237 | ++$context['loop']['index']; |
| 238 | - $context['loop']['first'] = false; |
|
| 238 | + $context['loop']['first'] = FALSE; |
|
| 239 | 239 | if (isset($context['loop']['length'])) { |
| 240 | 240 | --$context['loop']['revindex0']; |
| 241 | 241 | --$context['loop']['revindex']; |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | // line 43 |
| 257 | - public function macro_source_link($__project__ = null, $__class__ = null, ...$__varargs__) |
|
| 257 | + public function macro_source_link($__project__ = NULL, $__class__ = NULL, ...$__varargs__) |
|
| 258 | 258 | { |
| 259 | 259 | $context = $this->env->mergeGlobals(array( |
| 260 | 260 | "project" => $__project__, |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 44, $this->getSourceContext()); })()), "sourcepath", array())) { |
| 271 | 271 | // line 45 |
| 272 | 272 | echo " (<a href=\""; |
| 273 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 273 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 45, $this->getSourceContext()); })()), "sourcepath", array()), "html", NULL, TRUE); |
|
| 274 | 274 | echo "\">View source</a>)"; |
| 275 | 275 | } |
| 276 | 276 | |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | } |
| 282 | 282 | |
| 283 | 283 | // line 49 |
| 284 | - public function macro_method_source_link($__method__ = null, ...$__varargs__) |
|
| 284 | + public function macro_method_source_link($__method__ = NULL, ...$__varargs__) |
|
| 285 | 285 | { |
| 286 | 286 | $context = $this->env->mergeGlobals(array( |
| 287 | 287 | "method" => $__method__, |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 50, $this->getSourceContext()); })()), "sourcepath", array())) { |
| 297 | 297 | // line 51 |
| 298 | 298 | echo " <a href=\""; |
| 299 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", null, true); |
|
| 299 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "sourcepath", array()), "html", NULL, TRUE); |
|
| 300 | 300 | echo "\">line "; |
| 301 | 301 | echo twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new Twig_Error_Runtime('Variable "method" does not exist.', 51, $this->getSourceContext()); })()), "line", array()); |
| 302 | 302 | echo "</a>"; |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | } |
| 314 | 314 | |
| 315 | 315 | // line 57 |
| 316 | - public function macro_abbr_class($__class__ = null, $__absolute__ = null, ...$__varargs__) |
|
| 316 | + public function macro_abbr_class($__class__ = NULL, $__absolute__ = NULL, ...$__varargs__) |
|
| 317 | 317 | { |
| 318 | 318 | $context = $this->env->mergeGlobals(array( |
| 319 | 319 | "class" => $__class__, |
@@ -327,9 +327,9 @@ discard block |
||
| 327 | 327 | try { |
| 328 | 328 | // line 58 |
| 329 | 329 | echo "<abbr title=\""; |
| 330 | - echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", null, true); |
|
| 330 | + echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "html", NULL, TRUE); |
|
| 331 | 331 | echo "\">"; |
| 332 | - echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), false)) : (false))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", null, true); |
|
| 332 | + echo twig_escape_filter($this->env, ((((array_key_exists("absolute", $context)) ? (_twig_default_filter((isset($context["absolute"]) || array_key_exists("absolute", $context) ? $context["absolute"] : (function () { throw new Twig_Error_Runtime('Variable "absolute" does not exist.', 58, $this->getSourceContext()); })()), FALSE)) : (FALSE))) ? ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })())) : (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 58, $this->getSourceContext()); })()), "shortname", array()))), "html", NULL, TRUE); |
|
| 333 | 333 | echo "</abbr>"; |
| 334 | 334 | |
| 335 | 335 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | } |
| 340 | 340 | |
| 341 | 341 | // line 61 |
| 342 | - public function macro_method_parameters_signature($__method__ = null, ...$__varargs__) |
|
| 342 | + public function macro_method_parameters_signature($__method__ = NULL, ...$__varargs__) |
|
| 343 | 343 | { |
| 344 | 344 | $context = $this->env->mergeGlobals(array( |
| 345 | 345 | "method" => $__method__, |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | 'parent' => $context['_parent'], |
| 362 | 362 | 'index0' => 0, |
| 363 | 363 | 'index' => 1, |
| 364 | - 'first' => true, |
|
| 364 | + 'first' => TRUE, |
|
| 365 | 365 | ); |
| 366 | 366 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 367 | 367 | $length = count($context['_seq']); |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | // line 67 |
| 383 | 383 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["parameter"], "default", array())) { |
| 384 | 384 | echo " = "; |
| 385 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), $context["parameter"], "default", array()), "html", null, true); |
|
| 385 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), $context["parameter"], "default", array()), "html", NULL, TRUE); |
|
| 386 | 386 | } |
| 387 | 387 | // line 68 |
| 388 | 388 | if ( !twig_get_attribute($this->env, $this->getSourceContext(), $context["loop"], "last", array())) { |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | } |
| 391 | 391 | ++$context['loop']['index0']; |
| 392 | 392 | ++$context['loop']['index']; |
| 393 | - $context['loop']['first'] = false; |
|
| 393 | + $context['loop']['first'] = FALSE; |
|
| 394 | 394 | if (isset($context['loop']['length'])) { |
| 395 | 395 | --$context['loop']['revindex0']; |
| 396 | 396 | --$context['loop']['revindex']; |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | } |
| 411 | 411 | |
| 412 | 412 | // line 73 |
| 413 | - public function macro_render_classes($__classes__ = null, ...$__varargs__) |
|
| 413 | + public function macro_render_classes($__classes__ = NULL, ...$__varargs__) |
|
| 414 | 414 | { |
| 415 | 415 | $context = $this->env->mergeGlobals(array( |
| 416 | 416 | "classes" => $__classes__, |
@@ -439,13 +439,13 @@ discard block |
||
| 439 | 439 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["class"], "isInterface", array())) { |
| 440 | 440 | // line 81 |
| 441 | 441 | echo " <em>"; |
| 442 | - echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], true); |
|
| 442 | + echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], TRUE); |
|
| 443 | 443 | echo "</em> |
| 444 | 444 | "; |
| 445 | 445 | } else { |
| 446 | 446 | // line 83 |
| 447 | 447 | echo " "; |
| 448 | - echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], true); |
|
| 448 | + echo $context["__internal_0dcd0a0de11e9257248e7316cba8cbce297dfcfa69d4372e15bca2c48d7d6eaa"]->macro_class_link($context["class"], TRUE); |
|
| 449 | 449 | echo " |
| 450 | 450 | "; |
| 451 | 451 | } |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | } |
| 477 | 477 | |
| 478 | 478 | // line 95 |
| 479 | - public function macro_breadcrumbs($__namespace__ = null, ...$__varargs__) |
|
| 479 | + public function macro_breadcrumbs($__namespace__ = NULL, ...$__varargs__) |
|
| 480 | 480 | { |
| 481 | 481 | $context = $this->env->mergeGlobals(array( |
| 482 | 482 | "namespace" => $__namespace__, |
@@ -529,7 +529,7 @@ discard block |
||
| 529 | 529 | } |
| 530 | 530 | |
| 531 | 531 | // line 107 |
| 532 | - public function macro_deprecated($__reflection__ = null, ...$__varargs__) |
|
| 532 | + public function macro_deprecated($__reflection__ = NULL, ...$__varargs__) |
|
| 533 | 533 | { |
| 534 | 534 | $context = $this->env->mergeGlobals(array( |
| 535 | 535 | "reflection" => $__reflection__, |
@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | } |
| 554 | 554 | |
| 555 | 555 | // line 111 |
| 556 | - public function macro_deprecations($__reflection__ = null, ...$__varargs__) |
|
| 556 | + public function macro_deprecations($__reflection__ = NULL, ...$__varargs__) |
|
| 557 | 557 | { |
| 558 | 558 | $context = $this->env->mergeGlobals(array( |
| 559 | 559 | "reflection" => $__reflection__, |
@@ -591,7 +591,7 @@ discard block |
||
| 591 | 591 | echo "</td> |
| 592 | 592 | <td>"; |
| 593 | 593 | // line 120 |
| 594 | - echo twig_join_filter(twig_slice($this->env, $context["tag"], 1, null), " "); |
|
| 594 | + echo twig_join_filter(twig_slice($this->env, $context["tag"], 1, NULL), " "); |
|
| 595 | 595 | echo "</td> |
| 596 | 596 | </tr> |
| 597 | 597 | "; |
@@ -617,7 +617,7 @@ discard block |
||
| 617 | 617 | |
| 618 | 618 | public function isTraitable() |
| 619 | 619 | { |
| 620 | - return false; |
|
| 620 | + return FALSE; |
|
| 621 | 621 | } |
| 622 | 622 | |
| 623 | 623 | public function getDebugInfo() |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | "; |
| 55 | 55 | // line 12 |
| 56 | 56 | $context['_parent'] = $context; |
| 57 | - $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 12, $this->getSourceContext()); })())); |
|
| 57 | + $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function() { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 12, $this->getSourceContext()); })())); |
|
| 58 | 58 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
| 59 | 59 | // line 13 |
| 60 | 60 | echo " "; |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | public function getDebugInfo() |
| 101 | 101 | { |
| 102 | - return array ( 86 => 24, 80 => 23, 73 => 19, 67 => 16, 63 => 14, 60 => 13, 56 => 12, 49 => 7, 46 => 6, 40 => 4, 33 => 3, 29 => 1, 27 => 2, 11 => 1,); |
|
| 102 | + return array(86 => 24, 80 => 23, 73 => 19, 67 => 16, 63 => 14, 60 => 13, 56 => 12, 49 => 7, 46 => 6, 40 => 4, 33 => 3, 29 => 1, 27 => 2, 11 => 1,); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | public function getSourceContext() |
@@ -3,8 +3,7 @@ discard block |
||
| 3 | 3 | /* traits.twig */ |
| 4 | 4 | class __TwigTemplate_e8a02c0b0baa956c7d09d29124a61836be4c1b3079b87ce3cc43d0bdfa61672c extends Twig_Template |
| 5 | 5 | { |
| 6 | - public function __construct(Twig_Environment $env) |
|
| 7 | - { |
|
| 6 | + public function __construct(Twig_Environment $env) { |
|
| 8 | 7 | parent::__construct($env); |
| 9 | 8 | |
| 10 | 9 | // line 1 |
@@ -16,13 +15,11 @@ discard block |
||
| 16 | 15 | ); |
| 17 | 16 | } |
| 18 | 17 | |
| 19 | - protected function doGetParent(array $context) |
|
| 20 | - { |
|
| 18 | + protected function doGetParent(array $context) { |
|
| 21 | 19 | return "layout/layout.twig"; |
| 22 | 20 | } |
| 23 | 21 | |
| 24 | - protected function doDisplay(array $context, array $blocks = array()) |
|
| 25 | - { |
|
| 22 | + protected function doDisplay(array $context, array $blocks = array()) { |
|
| 26 | 23 | // line 2 |
| 27 | 24 | $context["__internal_85e957d16c16d43a099da5e05533379c49bc8b43f44343be05967d21f1cacea5"] = $this->loadTemplate("macros.twig", "traits.twig", 2); |
| 28 | 25 | // line 1 |
@@ -30,21 +27,18 @@ discard block |
||
| 30 | 27 | } |
| 31 | 28 | |
| 32 | 29 | // line 3 |
| 33 | - public function block_title($context, array $blocks = array()) |
|
| 34 | - { |
|
| 30 | + public function block_title($context, array $blocks = array()) { |
|
| 35 | 31 | echo "Traits | "; |
| 36 | 32 | $this->displayParentBlock("title", $context, $blocks); |
| 37 | 33 | } |
| 38 | 34 | |
| 39 | 35 | // line 4 |
| 40 | - public function block_body_class($context, array $blocks = array()) |
|
| 41 | - { |
|
| 36 | + public function block_body_class($context, array $blocks = array()) { |
|
| 42 | 37 | echo "traits"; |
| 43 | 38 | } |
| 44 | 39 | |
| 45 | 40 | // line 6 |
| 46 | - public function block_page_content($context, array $blocks = array()) |
|
| 47 | - { |
|
| 41 | + public function block_page_content($context, array $blocks = array()) { |
|
| 48 | 42 | // line 7 |
| 49 | 43 | echo " <div class=\"page-header\"> |
| 50 | 44 | <h1>Traits</h1> |
@@ -54,7 +48,9 @@ discard block |
||
| 54 | 48 | "; |
| 55 | 49 | // line 12 |
| 56 | 50 | $context['_parent'] = $context; |
| 57 | - $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () { throw new Twig_Error_Runtime('Variable "classes" does not exist.', 12, $this->getSourceContext()); })())); |
|
| 51 | + $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () |
|
| 52 | + { |
|
| 53 | +throw new Twig_Error_Runtime('Variable "classes" does not exist.', 12, $this->getSourceContext()); })())); |
|
| 58 | 54 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
| 59 | 55 | // line 13 |
| 60 | 56 | echo " "; |
@@ -87,23 +83,19 @@ discard block |
||
| 87 | 83 | "; |
| 88 | 84 | } |
| 89 | 85 | |
| 90 | - public function getTemplateName() |
|
| 91 | - { |
|
| 86 | + public function getTemplateName() { |
|
| 92 | 87 | return "traits.twig"; |
| 93 | 88 | } |
| 94 | 89 | |
| 95 | - public function isTraitable() |
|
| 96 | - { |
|
| 90 | + public function isTraitable() { |
|
| 97 | 91 | return false; |
| 98 | 92 | } |
| 99 | 93 | |
| 100 | - public function getDebugInfo() |
|
| 101 | - { |
|
| 94 | + public function getDebugInfo() { |
|
| 102 | 95 | return array ( 86 => 24, 80 => 23, 73 => 19, 67 => 16, 63 => 14, 60 => 13, 56 => 12, 49 => 7, 46 => 6, 40 => 4, 33 => 3, 29 => 1, 27 => 2, 11 => 1,); |
| 103 | 96 | } |
| 104 | 97 | |
| 105 | - public function getSourceContext() |
|
| 106 | - { |
|
| 98 | + public function getSourceContext() { |
|
| 107 | 99 | return new Twig_Source("{% extends \"layout/layout.twig\" %} |
| 108 | 100 | {% from \"macros.twig\" import class_link %} |
| 109 | 101 | {% block title %}Traits | {{ parent() }}{% endblock %} |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | <div class=\"col-md-6\"> |
| 65 | 65 | "; |
| 66 | 66 | // line 16 |
| 67 | - echo $context["__internal_85e957d16c16d43a099da5e05533379c49bc8b43f44343be05967d21f1cacea5"]->macro_class_link($context["class"], true); |
|
| 67 | + echo $context["__internal_85e957d16c16d43a099da5e05533379c49bc8b43f44343be05967d21f1cacea5"]->macro_class_link($context["class"], TRUE); |
|
| 68 | 68 | echo " |
| 69 | 69 | </div> |
| 70 | 70 | <div class=\"col-md-6\"> |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | public function isTraitable() |
| 96 | 96 | { |
| 97 | - return false; |
|
| 97 | + return FALSE; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | public function getDebugInfo() |
@@ -15,13 +15,13 @@ discard block |
||
| 15 | 15 | protected function doGetParent(array $context) |
| 16 | 16 | { |
| 17 | 17 | // line 7 |
| 18 | - return $this->loadTemplate((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new Twig_Error_Runtime('Variable "extension" does not exist.', 7, $this->getSourceContext()); })()), "index.twig", 7); |
|
| 18 | + return $this->loadTemplate((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function() { throw new Twig_Error_Runtime('Variable "extension" does not exist.', 7, $this->getSourceContext()); })()), "index.twig", 7); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | protected function doDisplay(array $context, array $blocks = array()) |
| 22 | 22 | { |
| 23 | 23 | // line 1 |
| 24 | - if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 1, $this->getSourceContext()); })())) { |
|
| 24 | + if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function() { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 1, $this->getSourceContext()); })())) { |
|
| 25 | 25 | // line 2 |
| 26 | 26 | $context["extension"] = "namespaces.twig"; |
| 27 | 27 | } else { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | public function getDebugInfo() |
| 52 | 52 | { |
| 53 | - return array ( 36 => 9, 32 => 7, 29 => 4, 26 => 2, 24 => 1, 18 => 7,); |
|
| 53 | + return array(36 => 9, 32 => 7, 29 => 4, 26 => 2, 24 => 1, 18 => 7,); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | public function getSourceContext() |
@@ -3,8 +3,7 @@ discard block |
||
| 3 | 3 | /* index.twig */ |
| 4 | 4 | class __TwigTemplate_398f8f56f7a75190ac0c4cefac17f525cd427ead086ca80c0ac47528545c2ce2 extends Twig_Template |
| 5 | 5 | { |
| 6 | - public function __construct(Twig_Environment $env) |
|
| 7 | - { |
|
| 6 | + public function __construct(Twig_Environment $env) { |
|
| 8 | 7 | parent::__construct($env); |
| 9 | 8 | |
| 10 | 9 | $this->blocks = array( |
@@ -12,19 +11,22 @@ discard block |
||
| 12 | 11 | ); |
| 13 | 12 | } |
| 14 | 13 | |
| 15 | - protected function doGetParent(array $context) |
|
| 16 | - { |
|
| 14 | + protected function doGetParent(array $context) { |
|
| 17 | 15 | // line 7 |
| 18 | - return $this->loadTemplate((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new Twig_Error_Runtime('Variable "extension" does not exist.', 7, $this->getSourceContext()); })()), "index.twig", 7); |
|
| 16 | + return $this->loadTemplate((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () |
|
| 17 | + { |
|
| 18 | +throw new Twig_Error_Runtime('Variable "extension" does not exist.', 7, $this->getSourceContext()); })()), "index.twig", 7); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - protected function doDisplay(array $context, array $blocks = array()) |
|
| 22 | - { |
|
| 21 | + protected function doDisplay(array $context, array $blocks = array()) { |
|
| 23 | 22 | // line 1 |
| 24 | - if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 1, $this->getSourceContext()); })())) { |
|
| 23 | + if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () |
|
| 24 | + { |
|
| 25 | +throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 1, $this->getSourceContext()); })())) { |
|
| 25 | 26 | // line 2 |
| 26 | 27 | $context["extension"] = "namespaces.twig"; |
| 27 | - } else { |
|
| 28 | + } |
|
| 29 | + else { |
|
| 28 | 30 | // line 4 |
| 29 | 31 | $context["extension"] = "classes.twig"; |
| 30 | 32 | } |
@@ -33,28 +35,23 @@ discard block |
||
| 33 | 35 | } |
| 34 | 36 | |
| 35 | 37 | // line 9 |
| 36 | - public function block_body_class($context, array $blocks = array()) |
|
| 37 | - { |
|
| 38 | + public function block_body_class($context, array $blocks = array()) { |
|
| 38 | 39 | echo "index"; |
| 39 | 40 | } |
| 40 | 41 | |
| 41 | - public function getTemplateName() |
|
| 42 | - { |
|
| 42 | + public function getTemplateName() { |
|
| 43 | 43 | return "index.twig"; |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - public function isTraitable() |
|
| 47 | - { |
|
| 46 | + public function isTraitable() { |
|
| 48 | 47 | return false; |
| 49 | 48 | } |
| 50 | 49 | |
| 51 | - public function getDebugInfo() |
|
| 52 | - { |
|
| 50 | + public function getDebugInfo() { |
|
| 53 | 51 | return array ( 36 => 9, 32 => 7, 29 => 4, 26 => 2, 24 => 1, 18 => 7,); |
| 54 | 52 | } |
| 55 | 53 | |
| 56 | - public function getSourceContext() |
|
| 57 | - { |
|
| 54 | + public function getSourceContext() { |
|
| 58 | 55 | return new Twig_Source("{% if has_namespaces %} |
| 59 | 56 | {% set extension = 'namespaces.twig' %} |
| 60 | 57 | {% else %} |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | public function isTraitable() |
| 47 | 47 | { |
| 48 | - return false; |
|
| 48 | + return FALSE; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | public function getDebugInfo() |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | // line 30 |
| 99 | 99 | echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "index.html"), "html", null, true); |
| 100 | 100 | echo "\">"; |
| 101 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", null, true); |
|
| 101 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function() { throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", null, true); |
|
| 102 | 102 | echo "</a> |
| 103 | 103 | </div> |
| 104 | 104 | <div class=\"collapse navbar-collapse\" id=\"navbar-elements\"> |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | echo "\">Classes</a></li> |
| 110 | 110 | "; |
| 111 | 111 | // line 35 |
| 112 | - if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 35, $this->getSourceContext()); })())) { |
|
| 112 | + if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function() { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 35, $this->getSourceContext()); })())) { |
|
| 113 | 113 | // line 36 |
| 114 | 114 | echo " <li><a href=\""; |
| 115 | 115 | echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "namespaces.html"), "html", null, true); |
@@ -154,14 +154,14 @@ discard block |
||
| 154 | 154 | echo " <div id=\"control-panel\"> |
| 155 | 155 | "; |
| 156 | 156 | // line 54 |
| 157 | - if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 54, $this->getSourceContext()); })()), "versions", array())) > 1)) { |
|
| 157 | + if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function() { throw new Twig_Error_Runtime('Variable "project" does not exist.', 54, $this->getSourceContext()); })()), "versions", array())) > 1)) { |
|
| 158 | 158 | // line 55 |
| 159 | 159 | echo " <form action=\"#\" method=\"GET\"> |
| 160 | 160 | <select id=\"version-switcher\" name=\"version\"> |
| 161 | 161 | "; |
| 162 | 162 | // line 57 |
| 163 | 163 | $context['_parent'] = $context; |
| 164 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 57, $this->getSourceContext()); })()), "versions", array())); |
|
| 164 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function() { throw new Twig_Error_Runtime('Variable "project" does not exist.', 57, $this->getSourceContext()); })()), "versions", array())); |
|
| 165 | 165 | foreach ($context['_seq'] as $context["_key"] => $context["version"]) { |
| 166 | 166 | // line 58 |
| 167 | 167 | echo " <option value=\""; |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | |
| 222 | 222 | public function getDebugInfo() |
| 223 | 223 | { |
| 224 | - return array ( 206 => 77, 203 => 76, 190 => 66, 185 => 63, 180 => 60, 167 => 58, 163 => 57, 159 => 55, 157 => 54, 154 => 53, 151 => 52, 146 => 49, 143 => 48, 133 => 41, 129 => 40, 125 => 39, 120 => 38, 114 => 36, 112 => 35, 108 => 34, 99 => 30, 88 => 21, 85 => 20, 79 => 13, 73 => 11, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 55 => 11, 51 => 10, 45 => 7, 41 => 6, 37 => 4, 34 => 3, 11 => 1,); |
|
| 224 | + return array(206 => 77, 203 => 76, 190 => 66, 185 => 63, 180 => 60, 167 => 58, 163 => 57, 159 => 55, 157 => 54, 154 => 53, 151 => 52, 146 => 49, 143 => 48, 133 => 41, 129 => 40, 125 => 39, 120 => 38, 114 => 36, 112 => 35, 108 => 34, 99 => 30, 88 => 21, 85 => 20, 79 => 13, 73 => 11, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 55 => 11, 51 => 10, 45 => 7, 41 => 6, 37 => 4, 34 => 3, 11 => 1,); |
|
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | public function getSourceContext() |
@@ -3,8 +3,7 @@ discard block |
||
| 3 | 3 | /* layout/layout.twig */ |
| 4 | 4 | class __TwigTemplate_8dc554e06ac7b8da7535d92ae46df1bc01667c2245998ebb36403332e8a3a06e extends Twig_Template |
| 5 | 5 | { |
| 6 | - public function __construct(Twig_Environment $env) |
|
| 7 | - { |
|
| 6 | + public function __construct(Twig_Environment $env) { |
|
| 8 | 7 | parent::__construct($env); |
| 9 | 8 | |
| 10 | 9 | // line 1 |
@@ -20,19 +19,16 @@ discard block |
||
| 20 | 19 | ); |
| 21 | 20 | } |
| 22 | 21 | |
| 23 | - protected function doGetParent(array $context) |
|
| 24 | - { |
|
| 22 | + protected function doGetParent(array $context) { |
|
| 25 | 23 | return "layout/base.twig"; |
| 26 | 24 | } |
| 27 | 25 | |
| 28 | - protected function doDisplay(array $context, array $blocks = array()) |
|
| 29 | - { |
|
| 26 | + protected function doDisplay(array $context, array $blocks = array()) { |
|
| 30 | 27 | $this->parent->display($context, array_merge($this->blocks, $blocks)); |
| 31 | 28 | } |
| 32 | 29 | |
| 33 | 30 | // line 3 |
| 34 | - public function block_content($context, array $blocks = array()) |
|
| 35 | - { |
|
| 31 | + public function block_content($context, array $blocks = array()) { |
|
| 36 | 32 | // line 4 |
| 37 | 33 | echo " <div id=\"content\"> |
| 38 | 34 | <div id=\"left-column\"> |
@@ -70,20 +66,17 @@ discard block |
||
| 70 | 66 | } |
| 71 | 67 | |
| 72 | 68 | // line 11 |
| 73 | - public function block_below_menu($context, array $blocks = array()) |
|
| 74 | - { |
|
| 69 | + public function block_below_menu($context, array $blocks = array()) { |
|
| 75 | 70 | echo ""; |
| 76 | 71 | } |
| 77 | 72 | |
| 78 | 73 | // line 13 |
| 79 | - public function block_page_content($context, array $blocks = array()) |
|
| 80 | - { |
|
| 74 | + public function block_page_content($context, array $blocks = array()) { |
|
| 81 | 75 | echo ""; |
| 82 | 76 | } |
| 83 | 77 | |
| 84 | 78 | // line 20 |
| 85 | - public function block_menu($context, array $blocks = array()) |
|
| 86 | - { |
|
| 79 | + public function block_menu($context, array $blocks = array()) { |
|
| 87 | 80 | // line 21 |
| 88 | 81 | echo " <nav id=\"site-nav\" class=\"navbar navbar-default\" role=\"navigation\"> |
| 89 | 82 | <div class=\"container-fluid\"> |
@@ -98,7 +91,9 @@ discard block |
||
| 98 | 91 | // line 30 |
| 99 | 92 | echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "index.html"), "html", null, true); |
| 100 | 93 | echo "\">"; |
| 101 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", null, true); |
|
| 94 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
| 95 | + { |
|
| 96 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", null, true); |
|
| 102 | 97 | echo "</a> |
| 103 | 98 | </div> |
| 104 | 99 | <div class=\"collapse navbar-collapse\" id=\"navbar-elements\"> |
@@ -109,7 +104,9 @@ discard block |
||
| 109 | 104 | echo "\">Classes</a></li> |
| 110 | 105 | "; |
| 111 | 106 | // line 35 |
| 112 | - if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 35, $this->getSourceContext()); })())) { |
|
| 107 | + if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () |
|
| 108 | + { |
|
| 109 | +throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 35, $this->getSourceContext()); })())) { |
|
| 113 | 110 | // line 36 |
| 114 | 111 | echo " <li><a href=\""; |
| 115 | 112 | echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "namespaces.html"), "html", null, true); |
@@ -140,28 +137,30 @@ discard block |
||
| 140 | 137 | } |
| 141 | 138 | |
| 142 | 139 | // line 48 |
| 143 | - public function block_leftnav($context, array $blocks = array()) |
|
| 144 | - { |
|
| 140 | + public function block_leftnav($context, array $blocks = array()) { |
|
| 145 | 141 | // line 49 |
| 146 | 142 | echo " <div id=\"api-tree\"></div> |
| 147 | 143 | "; |
| 148 | 144 | } |
| 149 | 145 | |
| 150 | 146 | // line 52 |
| 151 | - public function block_control_panel($context, array $blocks = array()) |
|
| 152 | - { |
|
| 147 | + public function block_control_panel($context, array $blocks = array()) { |
|
| 153 | 148 | // line 53 |
| 154 | 149 | echo " <div id=\"control-panel\"> |
| 155 | 150 | "; |
| 156 | 151 | // line 54 |
| 157 | - if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 54, $this->getSourceContext()); })()), "versions", array())) > 1)) { |
|
| 152 | + if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
| 153 | + { |
|
| 154 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 54, $this->getSourceContext()); })()), "versions", array())) > 1)) { |
|
| 158 | 155 | // line 55 |
| 159 | 156 | echo " <form action=\"#\" method=\"GET\"> |
| 160 | 157 | <select id=\"version-switcher\" name=\"version\"> |
| 161 | 158 | "; |
| 162 | 159 | // line 57 |
| 163 | 160 | $context['_parent'] = $context; |
| 164 | - $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 57, $this->getSourceContext()); })()), "versions", array())); |
|
| 161 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
| 162 | + { |
|
| 163 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 57, $this->getSourceContext()); })()), "versions", array())); |
|
| 165 | 164 | foreach ($context['_seq'] as $context["_key"] => $context["version"]) { |
| 166 | 165 | // line 58 |
| 167 | 166 | echo " <option value=\""; |
@@ -200,8 +199,7 @@ discard block |
||
| 200 | 199 | } |
| 201 | 200 | |
| 202 | 201 | // line 76 |
| 203 | - public function block_footer($context, array $blocks = array()) |
|
| 204 | - { |
|
| 202 | + public function block_footer($context, array $blocks = array()) { |
|
| 205 | 203 | // line 77 |
| 206 | 204 | echo " <div id=\"footer\"> |
| 207 | 205 | Generated by <a href=\"http://sami.sensiolabs.org/\">Sami, the API Documentation Generator</a>. |
@@ -209,23 +207,19 @@ discard block |
||
| 209 | 207 | "; |
| 210 | 208 | } |
| 211 | 209 | |
| 212 | - public function getTemplateName() |
|
| 213 | - { |
|
| 210 | + public function getTemplateName() { |
|
| 214 | 211 | return "layout/layout.twig"; |
| 215 | 212 | } |
| 216 | 213 | |
| 217 | - public function isTraitable() |
|
| 218 | - { |
|
| 214 | + public function isTraitable() { |
|
| 219 | 215 | return false; |
| 220 | 216 | } |
| 221 | 217 | |
| 222 | - public function getDebugInfo() |
|
| 223 | - { |
|
| 218 | + public function getDebugInfo() { |
|
| 224 | 219 | return array ( 206 => 77, 203 => 76, 190 => 66, 185 => 63, 180 => 60, 167 => 58, 163 => 57, 159 => 55, 157 => 54, 154 => 53, 151 => 52, 146 => 49, 143 => 48, 133 => 41, 129 => 40, 125 => 39, 120 => 38, 114 => 36, 112 => 35, 108 => 34, 99 => 30, 88 => 21, 85 => 20, 79 => 13, 73 => 11, 65 => 15, 62 => 14, 60 => 13, 57 => 12, 55 => 11, 51 => 10, 45 => 7, 41 => 6, 37 => 4, 34 => 3, 11 => 1,); |
| 225 | 220 | } |
| 226 | 221 | |
| 227 | - public function getSourceContext() |
|
| 228 | - { |
|
| 222 | + public function getSourceContext() { |
|
| 229 | 223 | return new Twig_Source("{% extends \"layout/base.twig\" %} |
| 230 | 224 | |
| 231 | 225 | {% block content %} |
@@ -96,41 +96,41 @@ discard block |
||
| 96 | 96 | </button> |
| 97 | 97 | <a class=\"navbar-brand\" href=\""; |
| 98 | 98 | // line 30 |
| 99 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "index.html"), "html", null, true); |
|
| 99 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "index.html"), "html", NULL, TRUE); |
|
| 100 | 100 | echo "\">"; |
| 101 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", null, true); |
|
| 101 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new Twig_Error_Runtime('Variable "project" does not exist.', 30, $this->getSourceContext()); })()), "config", array(0 => "title"), "method"), "html", NULL, TRUE); |
|
| 102 | 102 | echo "</a> |
| 103 | 103 | </div> |
| 104 | 104 | <div class=\"collapse navbar-collapse\" id=\"navbar-elements\"> |
| 105 | 105 | <ul class=\"nav navbar-nav\"> |
| 106 | 106 | <li><a href=\""; |
| 107 | 107 | // line 34 |
| 108 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "classes.html"), "html", null, true); |
|
| 108 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "classes.html"), "html", NULL, TRUE); |
|
| 109 | 109 | echo "\">Classes</a></li> |
| 110 | 110 | "; |
| 111 | 111 | // line 35 |
| 112 | 112 | if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 35, $this->getSourceContext()); })())) { |
| 113 | 113 | // line 36 |
| 114 | 114 | echo " <li><a href=\""; |
| 115 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "namespaces.html"), "html", null, true); |
|
| 115 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "namespaces.html"), "html", NULL, TRUE); |
|
| 116 | 116 | echo "\">Namespaces</a></li> |
| 117 | 117 | "; |
| 118 | 118 | } |
| 119 | 119 | // line 38 |
| 120 | 120 | echo " <li><a href=\""; |
| 121 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "interfaces.html"), "html", null, true); |
|
| 121 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "interfaces.html"), "html", NULL, TRUE); |
|
| 122 | 122 | echo "\">Interfaces</a></li> |
| 123 | 123 | <li><a href=\""; |
| 124 | 124 | // line 39 |
| 125 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "traits.html"), "html", null, true); |
|
| 125 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "traits.html"), "html", NULL, TRUE); |
|
| 126 | 126 | echo "\">Traits</a></li> |
| 127 | 127 | <li><a href=\""; |
| 128 | 128 | // line 40 |
| 129 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "doc-index.html"), "html", null, true); |
|
| 129 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "doc-index.html"), "html", NULL, TRUE); |
|
| 130 | 130 | echo "\">Index</a></li> |
| 131 | 131 | <li><a href=\""; |
| 132 | 132 | // line 41 |
| 133 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "search.html"), "html", null, true); |
|
| 133 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "search.html"), "html", NULL, TRUE); |
|
| 134 | 134 | echo "\">Search</a></li> |
| 135 | 135 | </ul> |
| 136 | 136 | </div> |
@@ -165,11 +165,11 @@ discard block |
||
| 165 | 165 | foreach ($context['_seq'] as $context["_key"] => $context["version"]) { |
| 166 | 166 | // line 58 |
| 167 | 167 | echo " <option value=\""; |
| 168 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, (("../" . $context["version"]) . "/index.html")), "html", null, true); |
|
| 168 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, (("../" . $context["version"]) . "/index.html")), "html", NULL, TRUE); |
|
| 169 | 169 | echo "\" data-version=\""; |
| 170 | - echo twig_escape_filter($this->env, $context["version"], "html", null, true); |
|
| 170 | + echo twig_escape_filter($this->env, $context["version"], "html", NULL, TRUE); |
|
| 171 | 171 | echo "\">"; |
| 172 | - echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), $context["version"], "longname", array()), "html", null, true); |
|
| 172 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), $context["version"], "longname", array()), "html", NULL, TRUE); |
|
| 173 | 173 | echo "</option> |
| 174 | 174 | "; |
| 175 | 175 | } |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | </script> |
| 188 | 188 | <form id=\"search-form\" action=\""; |
| 189 | 189 | // line 66 |
| 190 | - echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "search.html"), "html", null, true); |
|
| 190 | + echo twig_escape_filter($this->env, $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForStaticFile($context, "search.html"), "html", NULL, TRUE); |
|
| 191 | 191 | echo "\" method=\"GET\"> |
| 192 | 192 | <span class=\"glyphicon glyphicon-search\"></span> |
| 193 | 193 | <input name=\"search\" |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | public function isTraitable() |
| 218 | 218 | { |
| 219 | - return false; |
|
| 219 | + return FALSE; |
|
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | public function getDebugInfo() |
@@ -96,10 +96,10 @@ discard block |
||
| 96 | 96 | if (isset($values["link"]) && ($values["link"] !== NULL)) { |
| 97 | 97 | $values["message"] .= "\n"; |
| 98 | 98 | $values["message"] .= "<" . $values["link"]; |
| 99 | - if(isset($values["link_text"]) && ($values["link_text"] !== NULL)) { |
|
| 99 | + if (isset($values["link_text"]) && ($values["link_text"] !== NULL)) { |
|
| 100 | 100 | $values["message"] .= "|" . $values["link_text"]; |
| 101 | 101 | } |
| 102 | - $values["message"] .= ">" ; |
|
| 102 | + $values["message"] .= ">"; |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | // Set the parameters for the request |
@@ -141,11 +141,11 @@ discard block |
||
| 141 | 141 | try { |
| 142 | 142 | $client = new \GuzzleHttp\Client(); |
| 143 | 143 | $json_response = $client->request('POST', $this->url, [ |
| 144 | - 'body' => json_encode( $params ) |
|
| 144 | + 'body' => json_encode($params) |
|
| 145 | 145 | ]); |
| 146 | 146 | } |
| 147 | - catch(RequestException $e) { |
|
| 148 | - throw new RuntimeException('The request to the webhook failed: '.$e->getMessage(), $e->getCode(), $e); |
|
| 147 | + catch (RequestException $e) { |
|
| 148 | + throw new RuntimeException('The request to the webhook failed: ' . $e->getMessage(), $e->getCode(), $e); |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | // We re-initialize the attachments to prevent any conflict with a future message. |
@@ -175,13 +175,13 @@ discard block |
||
| 175 | 175 | // Create an array with the valid values |
| 176 | 176 | $valid_values = explode(",", self::SLACK_VALID_ATTACHMENTS); |
| 177 | 177 | |
| 178 | - if(!in_array($key, $valid_values)) { |
|
| 178 | + if (!in_array($key, $valid_values)) { |
|
| 179 | 179 | unset($attachment[$key]); |
| 180 | 180 | } |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | // Check if a message has been defined |
| 184 | - if(!isset($attachment["fallback"], $attachment["fields"], $attachment["fields"]["title"])) { |
|
| 184 | + if (!isset($attachment["fallback"], $attachment["fields"], $attachment["fields"]["title"])) { |
|
| 185 | 185 | throw new InvalidArgumentException("Attachment fields are missing."); |
| 186 | 186 | } |
| 187 | 187 | } |
@@ -162,8 +162,7 @@ |
||
| 162 | 162 | * @param array $attachments |
| 163 | 163 | * @return Webhook |
| 164 | 164 | */ |
| 165 | - public function setAttachments($attachments) |
|
| 166 | - { |
|
| 165 | + public function setAttachments($attachments) { |
|
| 167 | 166 | if (!is_array($attachments)) { |
| 168 | 167 | throw new InvalidArgumentException('The attachments must be an array.'); |
| 169 | 168 | } |