@@ -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 %} |
@@ -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 %} |
@@ -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 %} |
@@ -3,8 +3,7 @@ discard block |
||
3 | 3 | /* sami.js.twig */ |
4 | 4 | class __TwigTemplate_8206467aa1869d2c5530cbed2cab9e3f45d7108d4175abc935bd2f89c2f421bf 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; |
@@ -16,15 +15,16 @@ discard block |
||
16 | 15 | ); |
17 | 16 | } |
18 | 17 | |
19 | - protected function doDisplay(array $context, array $blocks = array()) |
|
20 | - { |
|
18 | + protected function doDisplay(array $context, array $blocks = array()) { |
|
21 | 19 | // line 1 |
22 | 20 | $context["__internal_8afc8a8ae1ba1195f1a5124fbe671ff7240f27c9ccc050ed7e120c7cdabb77b7"] = $this; |
23 | 21 | // line 2 |
24 | 22 | echo " |
25 | 23 | window.projectVersion = '"; |
26 | 24 | // line 3 |
27 | - 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.', 3, $this->getSourceContext()); })()), "version", array()), "html", null, true); |
|
25 | + echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
26 | + { |
|
27 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 3, $this->getSourceContext()); })()), "version", array()), "html", null, true); |
|
28 | 28 | echo "'; |
29 | 29 | |
30 | 30 | (function(root) { |
@@ -33,7 +33,11 @@ discard block |
||
33 | 33 | var rootPath = ''; |
34 | 34 | var treeHtml = '"; |
35 | 35 | // line 9 |
36 | - echo twig_replace_filter($context["__internal_8afc8a8ae1ba1195f1a5124fbe671ff7240f27c9ccc050ed7e120c7cdabb77b7"]->macro_element((isset($context["tree"]) || array_key_exists("tree", $context) ? $context["tree"] : (function () { throw new Twig_Error_Runtime('Variable "tree" does not exist.', 9, $this->getSourceContext()); })()), 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.', 9, $this->getSourceContext()); })()), "config", array(0 => "default_opened_level"), "method"), 0), array("'" => "\\'", " |
|
36 | + echo twig_replace_filter($context["__internal_8afc8a8ae1ba1195f1a5124fbe671ff7240f27c9ccc050ed7e120c7cdabb77b7"]->macro_element((isset($context["tree"]) || array_key_exists("tree", $context) ? $context["tree"] : (function () |
|
37 | + { |
|
38 | +throw new Twig_Error_Runtime('Variable "tree" does not exist.', 9, $this->getSourceContext()); })()), twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
39 | + { |
|
40 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 9, $this->getSourceContext()); })()), "config", array(0 => "default_opened_level"), "method"), 0), array("'" => "\\'", " |
|
37 | 41 | " => "")); |
38 | 42 | echo "'; |
39 | 43 | |
@@ -213,8 +217,7 @@ discard block |
||
213 | 217 | } |
214 | 218 | |
215 | 219 | // line 21 |
216 | - public function block_search_index($context, array $blocks = array()) |
|
217 | - { |
|
220 | + public function block_search_index($context, array $blocks = array()) { |
|
218 | 221 | // line 22 |
219 | 222 | echo " "; |
220 | 223 | $context["__internal_e00250934c7fb9cfd9a6e95672df28c1397bb383b1410781167bff5196387df3"] = $this; |
@@ -223,7 +226,9 @@ discard block |
||
223 | 226 | "; |
224 | 227 | // line 24 |
225 | 228 | $context['_parent'] = $context; |
226 | - $context['_seq'] = twig_ensure_traversable((isset($context["namespaces"]) || array_key_exists("namespaces", $context) ? $context["namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "namespaces" does not exist.', 24, $this->getSourceContext()); })())); |
|
229 | + $context['_seq'] = twig_ensure_traversable((isset($context["namespaces"]) || array_key_exists("namespaces", $context) ? $context["namespaces"] : (function () |
|
230 | + { |
|
231 | +throw new Twig_Error_Runtime('Variable "namespaces" does not exist.', 24, $this->getSourceContext()); })())); |
|
227 | 232 | foreach ($context['_seq'] as $context["_key"] => $context["ns"]) { |
228 | 233 | // line 25 |
229 | 234 | echo "{\"type\": \"Namespace\", \"link\": \""; |
@@ -242,7 +247,9 @@ discard block |
||
242 | 247 | "; |
243 | 248 | // line 28 |
244 | 249 | $context['_parent'] = $context; |
245 | - $context['_seq'] = twig_ensure_traversable((isset($context["interfaces"]) || array_key_exists("interfaces", $context) ? $context["interfaces"] : (function () { throw new Twig_Error_Runtime('Variable "interfaces" does not exist.', 28, $this->getSourceContext()); })())); |
|
250 | + $context['_seq'] = twig_ensure_traversable((isset($context["interfaces"]) || array_key_exists("interfaces", $context) ? $context["interfaces"] : (function () |
|
251 | + { |
|
252 | +throw new Twig_Error_Runtime('Variable "interfaces" does not exist.', 28, $this->getSourceContext()); })())); |
|
246 | 253 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
247 | 254 | // line 29 |
248 | 255 | echo "{\"type\": \"Interface\", "; |
@@ -274,13 +281,16 @@ discard block |
||
274 | 281 | "; |
275 | 282 | // line 33 |
276 | 283 | $context['_parent'] = $context; |
277 | - $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.', 33, $this->getSourceContext()); })())); |
|
284 | + $context['_seq'] = twig_ensure_traversable((isset($context["classes"]) || array_key_exists("classes", $context) ? $context["classes"] : (function () |
|
285 | + { |
|
286 | +throw new Twig_Error_Runtime('Variable "classes" does not exist.', 33, $this->getSourceContext()); })())); |
|
278 | 287 | foreach ($context['_seq'] as $context["_key"] => $context["class"]) { |
279 | 288 | // line 34 |
280 | 289 | echo "{\"type\": "; |
281 | 290 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["class"], "isTrait", array())) { |
282 | 291 | echo "\"Trait\""; |
283 | - } else { |
|
292 | + } |
|
293 | + else { |
|
284 | 294 | echo "\"Class\""; |
285 | 295 | } |
286 | 296 | echo ", "; |
@@ -318,14 +328,12 @@ discard block |
||
318 | 328 | } |
319 | 329 | |
320 | 330 | // line 39 |
321 | - public function block_search_index_extra($context, array $blocks = array()) |
|
322 | - { |
|
331 | + public function block_search_index_extra($context, array $blocks = array()) { |
|
323 | 332 | echo ""; |
324 | 333 | } |
325 | 334 | |
326 | 335 | // line 158 |
327 | - public function block_treejs($context, array $blocks = array()) |
|
328 | - { |
|
336 | + public function block_treejs($context, array $blocks = array()) { |
|
329 | 337 | // line 159 |
330 | 338 | echo " |
331 | 339 | // Toggle left-nav divs on click |
@@ -355,8 +363,7 @@ discard block |
||
355 | 363 | } |
356 | 364 | |
357 | 365 | // line 215 |
358 | - public function macro_add_class_methods_index($__class__ = null, ...$__varargs__) |
|
359 | - { |
|
366 | + public function macro_add_class_methods_index($__class__ = null, ...$__varargs__) { |
|
360 | 367 | $context = $this->env->mergeGlobals(array( |
361 | 368 | "class" => $__class__, |
362 | 369 | "varargs" => $__varargs__, |
@@ -368,29 +375,43 @@ discard block |
||
368 | 375 | try { |
369 | 376 | // line 216 |
370 | 377 | echo " "; |
371 | - 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.', 216, $this->getSourceContext()); })()), "methods", array())) { |
|
378 | + if (twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
379 | + { |
|
380 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 216, $this->getSourceContext()); })()), "methods", array())) { |
|
372 | 381 | // line 217 |
373 | 382 | echo " "; |
374 | - $context["from_name"] = twig_replace_filter(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.', 217, $this->getSourceContext()); })()), "name", array()), array("\\" => "\\\\")); |
|
383 | + $context["from_name"] = twig_replace_filter(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
384 | + { |
|
385 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 217, $this->getSourceContext()); })()), "name", array()), array("\\" => "\\\\")); |
|
375 | 386 | // line 218 |
376 | 387 | echo " "; |
377 | - $context["from_link"] = $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.', 218, $this->getSourceContext()); })())); |
|
388 | + $context["from_link"] = $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForClass($context, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
389 | + { |
|
390 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 218, $this->getSourceContext()); })())); |
|
378 | 391 | // line 219 |
379 | 392 | echo " "; |
380 | 393 | $context['_parent'] = $context; |
381 | - $context['_seq'] = twig_ensure_traversable(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.', 219, $this->getSourceContext()); })()), "methods", array())); |
|
394 | + $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
395 | + { |
|
396 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 219, $this->getSourceContext()); })()), "methods", array())); |
|
382 | 397 | foreach ($context['_seq'] as $context["_key"] => $context["meth"]) { |
383 | 398 | // line 220 |
384 | 399 | echo " {\"type\": \"Method\", \"fromName\": \""; |
385 | - echo (isset($context["from_name"]) || array_key_exists("from_name", $context) ? $context["from_name"] : (function () { throw new Twig_Error_Runtime('Variable "from_name" does not exist.', 220, $this->getSourceContext()); })()); |
|
400 | + echo (isset($context["from_name"]) || array_key_exists("from_name", $context) ? $context["from_name"] : (function () |
|
401 | + { |
|
402 | +throw new Twig_Error_Runtime('Variable "from_name" does not exist.', 220, $this->getSourceContext()); })()); |
|
386 | 403 | echo "\", \"fromLink\": \""; |
387 | - echo (isset($context["from_link"]) || array_key_exists("from_link", $context) ? $context["from_link"] : (function () { throw new Twig_Error_Runtime('Variable "from_link" does not exist.', 220, $this->getSourceContext()); })()); |
|
404 | + echo (isset($context["from_link"]) || array_key_exists("from_link", $context) ? $context["from_link"] : (function () |
|
405 | + { |
|
406 | +throw new Twig_Error_Runtime('Variable "from_link" does not exist.', 220, $this->getSourceContext()); })()); |
|
388 | 407 | echo "\", \"link\": \""; |
389 | 408 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForMethod($context, $context["meth"]); |
390 | 409 | echo "\", \"name\": \""; |
391 | 410 | echo twig_replace_filter($context["meth"], array("\\" => "\\\\")); |
392 | 411 | echo "\", \"doc\": \""; |
393 | - echo twig_escape_filter($this->env, json_encode($this->env->getExtension('Sami\Renderer\TwigExtension')->parseDesc($context, twig_get_attribute($this->env, $this->getSourceContext(), $context["meth"], "shortdesc", array()), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new Twig_Error_Runtime('Variable "class" does not exist.', 220, $this->getSourceContext()); })()))), "html", null, true); |
|
412 | + echo twig_escape_filter($this->env, json_encode($this->env->getExtension('Sami\Renderer\TwigExtension')->parseDesc($context, twig_get_attribute($this->env, $this->getSourceContext(), $context["meth"], "shortdesc", array()), (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () |
|
413 | + { |
|
414 | +throw new Twig_Error_Runtime('Variable "class" does not exist.', 220, $this->getSourceContext()); })()))), "html", null, true); |
|
394 | 415 | echo "\"}, |
395 | 416 | "; |
396 | 417 | } |
@@ -402,14 +423,14 @@ discard block |
||
402 | 423 | } |
403 | 424 | |
404 | 425 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
405 | - } finally { |
|
426 | + } |
|
427 | + finally { |
|
406 | 428 | ob_end_clean(); |
407 | 429 | } |
408 | 430 | } |
409 | 431 | |
410 | 432 | // line 225 |
411 | - public function macro_element($__tree__ = null, $__opened__ = null, $__depth__ = null, ...$__varargs__) |
|
412 | - { |
|
433 | + public function macro_element($__tree__ = null, $__opened__ = null, $__depth__ = null, ...$__varargs__) { |
|
413 | 434 | $context = $this->env->mergeGlobals(array( |
414 | 435 | "tree" => $__tree__, |
415 | 436 | "opened" => $__opened__, |
@@ -429,7 +450,9 @@ discard block |
||
429 | 450 | <ul>"; |
430 | 451 | // line 229 |
431 | 452 | $context['_parent'] = $context; |
432 | - $context['_seq'] = twig_ensure_traversable((isset($context["tree"]) || array_key_exists("tree", $context) ? $context["tree"] : (function () { throw new Twig_Error_Runtime('Variable "tree" does not exist.', 229, $this->getSourceContext()); })())); |
|
453 | + $context['_seq'] = twig_ensure_traversable((isset($context["tree"]) || array_key_exists("tree", $context) ? $context["tree"] : (function () |
|
454 | + { |
|
455 | +throw new Twig_Error_Runtime('Variable "tree" does not exist.', 229, $this->getSourceContext()); })())); |
|
433 | 456 | foreach ($context['_seq'] as $context["_key"] => $context["element"]) { |
434 | 457 | // line 230 |
435 | 458 | if (twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 2, array(), "array")) { |
@@ -437,23 +460,33 @@ discard block |
||
437 | 460 | echo " <li data-name=\"namespace:"; |
438 | 461 | echo twig_replace_filter(twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 1, array(), "array"), array("\\" => "_")); |
439 | 462 | echo "\" "; |
440 | - if (((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () { throw new Twig_Error_Runtime('Variable "depth" does not exist.', 231, $this->getSourceContext()); })()) < (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () { throw new Twig_Error_Runtime('Variable "opened" does not exist.', 231, $this->getSourceContext()); })()))) { |
|
463 | + if (((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () |
|
464 | + { |
|
465 | +throw new Twig_Error_Runtime('Variable "depth" does not exist.', 231, $this->getSourceContext()); })()) < (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () |
|
466 | + { |
|
467 | +throw new Twig_Error_Runtime('Variable "opened" does not exist.', 231, $this->getSourceContext()); })()))) { |
|
441 | 468 | echo "class=\"opened\""; |
442 | 469 | } |
443 | 470 | echo "> |
444 | 471 | <div style=\"padding-left:"; |
445 | 472 | // line 232 |
446 | - echo ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () { throw new Twig_Error_Runtime('Variable "depth" does not exist.', 232, $this->getSourceContext()); })()) * 18); |
|
473 | + echo ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () |
|
474 | + { |
|
475 | +throw new Twig_Error_Runtime('Variable "depth" does not exist.', 232, $this->getSourceContext()); })()) * 18); |
|
447 | 476 | echo "px\" class=\"hd\"> |
448 | 477 | <span class=\"glyphicon glyphicon-play\"></span>"; |
449 | 478 | // line 233 |
450 | - if ( !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.', 233, $this->getSourceContext()); })()), "config", array(0 => "simulate_namespaces"), "method")) { |
|
479 | + if ( !twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
480 | + { |
|
481 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 233, $this->getSourceContext()); })()), "config", array(0 => "simulate_namespaces"), "method")) { |
|
451 | 482 | echo "<a href=\""; |
452 | 483 | echo $this->env->getExtension('Sami\Renderer\TwigExtension')->pathForNamespace($context, twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 1, array(), "array")); |
453 | 484 | echo "\">"; |
454 | 485 | } |
455 | 486 | echo twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 0, array(), "array"); |
456 | - if ( !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.', 233, $this->getSourceContext()); })()), "config", array(0 => "simulate_namespaces"), "method")) { |
|
487 | + if ( !twig_get_attribute($this->env, $this->getSourceContext(), (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () |
|
488 | + { |
|
489 | +throw new Twig_Error_Runtime('Variable "project" does not exist.', 233, $this->getSourceContext()); })()), "config", array(0 => "simulate_namespaces"), "method")) { |
|
457 | 490 | echo "</a>"; |
458 | 491 | } |
459 | 492 | // line 234 |
@@ -461,23 +494,34 @@ discard block |
||
461 | 494 | <div class=\"bd\"> |
462 | 495 | "; |
463 | 496 | // line 236 |
464 | - echo $context["__internal_19673542bca73c75548fd07e0673770ce397b80422823d7d940f6382456d6a39"]->macro_element(twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 2, array(), "array"), (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () { throw new Twig_Error_Runtime('Variable "opened" does not exist.', 236, $this->getSourceContext()); })()), ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () { throw new Twig_Error_Runtime('Variable "depth" does not exist.', 236, $this->getSourceContext()); })()) + 1)); |
|
497 | + echo $context["__internal_19673542bca73c75548fd07e0673770ce397b80422823d7d940f6382456d6a39"]->macro_element(twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 2, array(), "array"), (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () |
|
498 | + { |
|
499 | +throw new Twig_Error_Runtime('Variable "opened" does not exist.', 236, $this->getSourceContext()); })()), ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () |
|
500 | + { |
|
501 | +throw new Twig_Error_Runtime('Variable "depth" does not exist.', 236, $this->getSourceContext()); })()) + 1)); |
|
465 | 502 | // line 237 |
466 | 503 | echo "</div> |
467 | 504 | </li> |
468 | 505 | "; |
469 | - } else { |
|
506 | + } |
|
507 | + else { |
|
470 | 508 | // line 240 |
471 | 509 | echo " <li data-name=\"class:"; |
472 | 510 | echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->getSourceContext(), twig_get_attribute($this->env, $this->getSourceContext(), $context["element"], 1, array(), "array"), "name", array()), array("\\" => "_")), "html", null, true); |
473 | 511 | echo "\" "; |
474 | - if (((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () { throw new Twig_Error_Runtime('Variable "depth" does not exist.', 240, $this->getSourceContext()); })()) < (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () { throw new Twig_Error_Runtime('Variable "opened" does not exist.', 240, $this->getSourceContext()); })()))) { |
|
512 | + if (((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () |
|
513 | + { |
|
514 | +throw new Twig_Error_Runtime('Variable "depth" does not exist.', 240, $this->getSourceContext()); })()) < (isset($context["opened"]) || array_key_exists("opened", $context) ? $context["opened"] : (function () |
|
515 | + { |
|
516 | +throw new Twig_Error_Runtime('Variable "opened" does not exist.', 240, $this->getSourceContext()); })()))) { |
|
475 | 517 | echo "class=\"opened\""; |
476 | 518 | } |
477 | 519 | echo "> |
478 | 520 | <div style=\"padding-left:"; |
479 | 521 | // line 241 |
480 | - echo twig_escape_filter($this->env, (8 + ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () { throw new Twig_Error_Runtime('Variable "depth" does not exist.', 241, $this->getSourceContext()); })()) * 18)), "html", null, true); |
|
522 | + echo twig_escape_filter($this->env, (8 + ((isset($context["depth"]) || array_key_exists("depth", $context) ? $context["depth"] : (function () |
|
523 | + { |
|
524 | +throw new Twig_Error_Runtime('Variable "depth" does not exist.', 241, $this->getSourceContext()); })()) * 18)), "html", null, true); |
|
481 | 525 | echo "px\" class=\"hd leaf\"> |
482 | 526 | <a href=\""; |
483 | 527 | // line 242 |
@@ -498,28 +542,25 @@ discard block |
||
498 | 542 | "; |
499 | 543 | |
500 | 544 | return ('' === $tmp = ob_get_contents()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
501 | - } finally { |
|
545 | + } |
|
546 | + finally { |
|
502 | 547 | ob_end_clean(); |
503 | 548 | } |
504 | 549 | } |
505 | 550 | |
506 | - public function getTemplateName() |
|
507 | - { |
|
551 | + public function getTemplateName() { |
|
508 | 552 | return "sami.js.twig"; |
509 | 553 | } |
510 | 554 | |
511 | - public function isTraitable() |
|
512 | - { |
|
555 | + public function isTraitable() { |
|
513 | 556 | return false; |
514 | 557 | } |
515 | 558 | |
516 | - public function getDebugInfo() |
|
517 | - { |
|
559 | + public function getDebugInfo() { |
|
518 | 560 | return array ( 497 => 247, 484 => 242, 480 => 241, 471 => 240, 466 => 237, 464 => 236, 460 => 234, 450 => 233, 446 => 232, 437 => 231, 435 => 230, 431 => 229, 428 => 227, 425 => 226, 411 => 225, 401 => 222, 384 => 220, 379 => 219, 376 => 218, 373 => 217, 370 => 216, 358 => 215, 330 => 159, 327 => 158, 321 => 39, 317 => 40, 314 => 39, 311 => 37, 303 => 35, 280 => 34, 276 => 33, 273 => 32, 265 => 30, 248 => 29, 244 => 28, 241 => 27, 229 => 25, 225 => 24, 222 => 23, 219 => 22, 216 => 21, 211 => 224, 178 => 212, 175 => 184, 173 => 158, 54 => 41, 52 => 21, 36 => 9, 27 => 3, 24 => 2, 22 => 1,); |
519 | 561 | } |
520 | 562 | |
521 | - public function getSourceContext() |
|
522 | - { |
|
563 | + public function getSourceContext() { |
|
523 | 564 | return new Twig_Source("{% from _self import element %} |
524 | 565 | |
525 | 566 | window.projectVersion = '{{ project.version }}'; |
@@ -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 %} |