1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* namespace.twig */ |
4
|
|
|
class __TwigTemplate_d5796206d38ac26cf7cb9d9a4616e14e59b837710108788c7b0d1e07830f610c extends Twig_Template |
|
|
|
|
5
|
|
|
{ |
6
|
|
|
public function __construct(Twig_Environment $env) |
7
|
|
|
{ |
8
|
|
|
parent::__construct($env); |
9
|
|
|
|
10
|
|
|
// line 1 |
11
|
|
|
$this->parent = $this->loadTemplate("layout/layout.twig", "namespace.twig", 1); |
12
|
|
|
$this->blocks = array( |
13
|
|
|
'title' => array($this, 'block_title'), |
14
|
|
|
'body_class' => array($this, 'block_body_class'), |
15
|
|
|
'page_id' => array($this, 'block_page_id'), |
16
|
|
|
'below_menu' => array($this, 'block_below_menu'), |
17
|
|
|
'page_content' => array($this, 'block_page_content'), |
18
|
|
|
); |
19
|
|
|
} |
20
|
|
|
|
21
|
|
|
protected function doGetParent(array $context) |
22
|
|
|
{ |
23
|
|
|
return "layout/layout.twig"; |
24
|
|
|
} |
25
|
|
|
|
26
|
|
|
protected function doDisplay(array $context, array $blocks = array()) |
27
|
|
|
{ |
28
|
|
|
// line 2 |
29
|
|
|
$context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"] = $this->loadTemplate("macros.twig", "namespace.twig", 2); |
30
|
|
|
// line 1 |
31
|
|
|
$this->parent->display($context, array_merge($this->blocks, $blocks)); |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
// line 3 |
35
|
|
|
public function block_title($context, array $blocks = array()) |
|
|
|
|
36
|
|
|
{ |
37
|
|
|
echo (isset($context["namespace"]) ? $context["namespace"] : $this->getContext($context, "namespace")); |
38
|
|
|
echo " | "; |
39
|
|
|
$this->displayParentBlock("title", $context, $blocks); |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
// line 4 |
43
|
|
|
public function block_body_class($context, array $blocks = array()) |
|
|
|
|
44
|
|
|
{ |
45
|
|
|
echo "namespace"; |
46
|
|
|
} |
47
|
|
|
|
48
|
|
|
// line 5 |
49
|
|
|
public function block_page_id($context, array $blocks = array()) |
|
|
|
|
50
|
|
|
{ |
51
|
|
|
echo twig_escape_filter($this->env, ("namespace:" . twig_replace_filter((isset($context["namespace"]) ? $context["namespace"] : $this->getContext($context, "namespace")), array("\\" => "_"))), "html", null, true); |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
// line 7 |
55
|
|
|
public function block_below_menu($context, array $blocks = array()) |
|
|
|
|
56
|
|
|
{ |
57
|
|
|
// line 8 |
58
|
|
|
echo " <div class=\"namespace-breadcrumbs\"> |
59
|
|
|
<ol class=\"breadcrumb\"> |
60
|
|
|
<li><span class=\"label label-default\">Namespace</span></li> |
61
|
|
|
"; |
62
|
|
|
// line 11 |
63
|
|
|
echo $context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"]->getbreadcrumbs((isset($context["namespace"]) ? $context["namespace"] : $this->getContext($context, "namespace"))); |
64
|
|
|
echo " |
65
|
|
|
</ol> |
66
|
|
|
</div> |
67
|
|
|
"; |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
// line 16 |
71
|
|
|
public function block_page_content($context, array $blocks = array()) |
|
|
|
|
72
|
|
|
{ |
73
|
|
|
// line 17 |
74
|
|
|
echo " |
75
|
|
|
<div class=\"page-header\"> |
76
|
|
|
<h1>"; |
77
|
|
|
// line 19 |
78
|
|
|
echo (isset($context["namespace"]) ? $context["namespace"] : $this->getContext($context, "namespace")); |
79
|
|
|
echo "</h1> |
80
|
|
|
</div> |
81
|
|
|
|
82
|
|
|
"; |
83
|
|
|
// line 22 |
84
|
|
|
if ((isset($context["subnamespaces"]) ? $context["subnamespaces"] : $this->getContext($context, "subnamespaces"))) { |
85
|
|
|
// line 23 |
86
|
|
|
echo " <h2>Namespaces</h2> |
87
|
|
|
<div class=\"namespace-list\"> |
88
|
|
|
"; |
89
|
|
|
// line 25 |
90
|
|
|
$context['_parent'] = $context; |
91
|
|
|
$context['_seq'] = twig_ensure_traversable((isset($context["subnamespaces"]) ? $context["subnamespaces"] : $this->getContext($context, "subnamespaces"))); |
92
|
|
|
foreach ($context['_seq'] as $context["_key"] => $context["ns"]) { |
93
|
|
|
echo $context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"]->getnamespace_link($context["ns"]); |
94
|
|
|
} |
95
|
|
|
$_parent = $context['_parent']; |
96
|
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ns'], $context['_parent'], $context['loop']); |
97
|
|
|
$context = array_intersect_key($context, $_parent) + $_parent; |
98
|
|
|
// line 26 |
99
|
|
|
echo " </div> |
100
|
|
|
"; |
101
|
|
|
} |
102
|
|
|
// line 28 |
103
|
|
|
echo " |
104
|
|
|
"; |
105
|
|
|
// line 29 |
106
|
|
|
if ((isset($context["classes"]) ? $context["classes"] : $this->getContext($context, "classes"))) { |
107
|
|
|
// line 30 |
108
|
|
|
echo " <h2>Classes</h2> |
109
|
|
|
"; |
110
|
|
|
// line 31 |
111
|
|
|
echo $context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"]->getrender_classes((isset($context["classes"]) ? $context["classes"] : $this->getContext($context, "classes"))); |
112
|
|
|
echo " |
113
|
|
|
"; |
114
|
|
|
} |
115
|
|
|
// line 33 |
116
|
|
|
echo " |
117
|
|
|
"; |
118
|
|
|
// line 34 |
119
|
|
|
if ((isset($context["interfaces"]) ? $context["interfaces"] : $this->getContext($context, "interfaces"))) { |
120
|
|
|
// line 35 |
121
|
|
|
echo " <h2>Interfaces</h2> |
122
|
|
|
"; |
123
|
|
|
// line 36 |
124
|
|
|
echo $context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"]->getrender_classes((isset($context["interfaces"]) ? $context["interfaces"] : $this->getContext($context, "interfaces"))); |
125
|
|
|
echo " |
126
|
|
|
"; |
127
|
|
|
} |
128
|
|
|
// line 38 |
129
|
|
|
echo " |
130
|
|
|
"; |
131
|
|
|
// line 39 |
132
|
|
|
if ((isset($context["exceptions"]) ? $context["exceptions"] : $this->getContext($context, "exceptions"))) { |
133
|
|
|
// line 40 |
134
|
|
|
echo " <h2>Exceptions</h2> |
135
|
|
|
"; |
136
|
|
|
// line 41 |
137
|
|
|
echo $context["__internal_360c4d2c1ef9dd65dd45aaadc2d4a9e62e6355bc0be40451e5bf0f8f47a4d0fe"]->getrender_classes((isset($context["exceptions"]) ? $context["exceptions"] : $this->getContext($context, "exceptions"))); |
138
|
|
|
echo " |
139
|
|
|
"; |
140
|
|
|
} |
141
|
|
|
// line 43 |
142
|
|
|
echo " |
143
|
|
|
"; |
144
|
|
|
} |
145
|
|
|
|
146
|
|
|
public function getTemplateName() |
147
|
|
|
{ |
148
|
|
|
return "namespace.twig"; |
149
|
|
|
} |
150
|
|
|
|
151
|
|
|
public function isTraitable() |
152
|
|
|
{ |
153
|
|
|
return false; |
154
|
|
|
} |
155
|
|
|
|
156
|
|
|
public function getDebugInfo() |
157
|
|
|
{ |
158
|
|
|
return array ( 142 => 43, 137 => 41, 134 => 40, 132 => 39, 129 => 38, 124 => 36, 121 => 35, 119 => 34, 116 => 33, 111 => 31, 108 => 30, 106 => 29, 103 => 28, 99 => 26, 90 => 25, 86 => 23, 84 => 22, 78 => 19, 74 => 17, 71 => 16, 63 => 11, 58 => 8, 55 => 7, 49 => 5, 43 => 4, 35 => 3, 31 => 1, 29 => 2, 11 => 1,); |
159
|
|
|
} |
160
|
|
|
} |
161
|
|
|
/* {% extends "layout/layout.twig" %}*/ |
|
|
|
|
162
|
|
|
/* {% from "macros.twig" import breadcrumbs, render_classes, class_link, namespace_link %}*/ |
163
|
|
|
/* {% block title %}{{ namespace|raw }} | {{ parent() }}{% endblock %}*/ |
|
|
|
|
164
|
|
|
/* {% block body_class 'namespace' %}*/ |
165
|
|
|
/* {% block page_id 'namespace:' ~ (namespace|replace({'\\': '_'})) %}*/ |
|
|
|
|
166
|
|
|
/* */ |
167
|
|
|
/* {% block below_menu %}*/ |
168
|
|
|
/* <div class="namespace-breadcrumbs">*/ |
169
|
|
|
/* <ol class="breadcrumb">*/ |
170
|
|
|
/* <li><span class="label label-default">Namespace</span></li>*/ |
171
|
|
|
/* {{ breadcrumbs(namespace) }}*/ |
|
|
|
|
172
|
|
|
/* </ol>*/ |
173
|
|
|
/* </div>*/ |
174
|
|
|
/* {% endblock %}*/ |
175
|
|
|
/* */ |
176
|
|
|
/* {% block page_content %}*/ |
177
|
|
|
/* */ |
178
|
|
|
/* <div class="page-header">*/ |
179
|
|
|
/* <h1>{{ namespace|raw }}</h1>*/ |
|
|
|
|
180
|
|
|
/* </div>*/ |
181
|
|
|
/* */ |
182
|
|
|
/* {% if subnamespaces %}*/ |
183
|
|
|
/* <h2>Namespaces</h2>*/ |
184
|
|
|
/* <div class="namespace-list">*/ |
185
|
|
|
/* {% for ns in subnamespaces %}{{ namespace_link(ns) }}{% endfor %}*/ |
|
|
|
|
186
|
|
|
/* </div>*/ |
187
|
|
|
/* {% endif %}*/ |
|
|
|
|
188
|
|
|
/* */ |
189
|
|
|
/* {% if classes %}*/ |
190
|
|
|
/* <h2>Classes</h2>*/ |
191
|
|
|
/* {{ render_classes(classes) }}*/ |
|
|
|
|
192
|
|
|
/* {% endif %}*/ |
|
|
|
|
193
|
|
|
/* */ |
194
|
|
|
/* {% if interfaces %}*/ |
195
|
|
|
/* <h2>Interfaces</h2>*/ |
196
|
|
|
/* {{ render_classes(interfaces) }}*/ |
|
|
|
|
197
|
|
|
/* {% endif %}*/ |
|
|
|
|
198
|
|
|
/* */ |
199
|
|
|
/* {% if exceptions %}*/ |
200
|
|
|
/* <h2>Exceptions</h2>*/ |
201
|
|
|
/* {{ render_classes(exceptions) }}*/ |
|
|
|
|
202
|
|
|
/* {% endif %}*/ |
|
|
|
|
203
|
|
|
/* */ |
204
|
|
|
/* {% endblock %}*/ |
205
|
|
|
/* */ |
206
|
|
|
|
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.