@@ 133-169 (lines=37) @@ | ||
130 | } |
|
131 | ||
132 | // line 15 |
|
133 | public function getmethod_link($__method__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
134 | { |
|
135 | $context = $this->env->mergeGlobals(array( |
|
136 | "method" => $__method__, |
|
137 | "absolute" => $__absolute__, |
|
138 | "classonly" => $__classonly__, |
|
139 | "varargs" => $__varargs__, |
|
140 | )); |
|
141 | ||
142 | $blocks = array(); |
|
143 | ||
144 | ob_start(); |
|
145 | try { |
|
146 | // line 16 |
|
147 | echo "<a href=\""; |
|
148 | echo $this->env->getExtension('sami')->pathForMethod($context, (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"))); |
|
149 | echo "\">"; |
|
150 | // line 17 |
|
151 | echo $this->env->getExtension('sami')->abbrClass($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "class", array())); |
|
152 | if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) ? $context["classonly"] : $this->getContext($context, "classonly")), false)) : (false))) { |
|
153 | echo "::"; |
|
154 | echo $this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "name", array()); |
|
155 | } |
|
156 | // line 18 |
|
157 | echo "</a>"; |
|
158 | } catch (Exception $e) { |
|
159 | ob_end_clean(); |
|
160 | ||
161 | throw $e; |
|
162 | } catch (Throwable $e) { |
|
163 | ob_end_clean(); |
|
164 | ||
165 | throw $e; |
|
166 | } |
|
167 | ||
168 | return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
|
169 | } |
|
170 | ||
171 | // line 21 |
|
172 | public function getproperty_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
@@ 172-208 (lines=37) @@ | ||
169 | } |
|
170 | ||
171 | // line 21 |
|
172 | public function getproperty_link($__property__ = null, $__absolute__ = null, $__classonly__ = null, ...$__varargs__) |
|
173 | { |
|
174 | $context = $this->env->mergeGlobals(array( |
|
175 | "property" => $__property__, |
|
176 | "absolute" => $__absolute__, |
|
177 | "classonly" => $__classonly__, |
|
178 | "varargs" => $__varargs__, |
|
179 | )); |
|
180 | ||
181 | $blocks = array(); |
|
182 | ||
183 | ob_start(); |
|
184 | try { |
|
185 | // line 22 |
|
186 | echo "<a href=\""; |
|
187 | echo $this->env->getExtension('sami')->pathForProperty($context, (isset($context["property"]) ? $context["property"] : $this->getContext($context, "property"))); |
|
188 | echo "\">"; |
|
189 | // line 23 |
|
190 | echo $this->env->getExtension('sami')->abbrClass($this->getAttribute((isset($context["property"]) ? $context["property"] : $this->getContext($context, "property")), "class", array())); |
|
191 | if ( !((array_key_exists("classonly", $context)) ? (_twig_default_filter((isset($context["classonly"]) ? $context["classonly"] : $this->getContext($context, "classonly")), true)) : (true))) { |
|
192 | echo "#"; |
|
193 | echo $this->getAttribute((isset($context["property"]) ? $context["property"] : $this->getContext($context, "property")), "name", array()); |
|
194 | } |
|
195 | // line 24 |
|
196 | echo "</a>"; |
|
197 | } catch (Exception $e) { |
|
198 | ob_end_clean(); |
|
199 | ||
200 | throw $e; |
|
201 | } catch (Throwable $e) { |
|
202 | ob_end_clean(); |
|
203 | ||
204 | throw $e; |
|
205 | } |
|
206 | ||
207 | return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); |
|
208 | } |
|
209 | ||
210 | // line 27 |
|
211 | public function gethint_link($__hints__ = null, ...$__varargs__) |