|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* index.twig */ |
|
4
|
|
|
class __TwigTemplate_398f8f56f7a75190ac0c4cefac17f525cd427ead086ca80c0ac47528545c2ce2 extends Twig_Template |
|
|
|
|
|
|
5
|
|
|
{ |
|
6
|
|
|
public function __construct(Twig_Environment $env) |
|
7
|
|
|
{ |
|
8
|
|
|
parent::__construct($env); |
|
9
|
|
|
|
|
10
|
|
|
$this->blocks = array( |
|
11
|
|
|
'body_class' => array($this, 'block_body_class'), |
|
12
|
|
|
); |
|
13
|
|
|
} |
|
14
|
|
|
|
|
15
|
|
|
protected function doGetParent(array $context) |
|
16
|
|
|
{ |
|
17
|
|
|
// line 7 |
|
18
|
|
|
return $this->loadTemplate((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new Twig_Error_Runtime('Variable "extension" does not exist.', 7, $this->getSourceContext()); })()), "index.twig", 7); |
|
|
|
|
|
|
19
|
|
|
} |
|
20
|
|
|
|
|
21
|
|
|
protected function doDisplay(array $context, array $blocks = array()) |
|
22
|
|
|
{ |
|
23
|
|
|
// line 1 |
|
24
|
|
|
if ((isset($context["has_namespaces"]) || array_key_exists("has_namespaces", $context) ? $context["has_namespaces"] : (function () { throw new Twig_Error_Runtime('Variable "has_namespaces" does not exist.', 1, $this->getSourceContext()); })())) { |
|
25
|
|
|
// line 2 |
|
26
|
|
|
$context["extension"] = "namespaces.twig"; |
|
27
|
|
|
} else { |
|
28
|
|
|
// line 4 |
|
29
|
|
|
$context["extension"] = "classes.twig"; |
|
30
|
|
|
} |
|
31
|
|
|
// line 7 |
|
32
|
|
|
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); |
|
33
|
|
|
} |
|
34
|
|
|
|
|
35
|
|
|
// line 9 |
|
36
|
|
|
public function block_body_class($context, array $blocks = array()) |
|
|
|
|
|
|
37
|
|
|
{ |
|
38
|
|
|
echo "index"; |
|
39
|
|
|
} |
|
40
|
|
|
|
|
41
|
|
|
public function getTemplateName() |
|
42
|
|
|
{ |
|
43
|
|
|
return "index.twig"; |
|
44
|
|
|
} |
|
45
|
|
|
|
|
46
|
|
|
public function isTraitable() |
|
47
|
|
|
{ |
|
48
|
|
|
return false; |
|
49
|
|
|
} |
|
50
|
|
|
|
|
51
|
|
|
public function getDebugInfo() |
|
52
|
|
|
{ |
|
53
|
|
|
return array ( 36 => 9, 32 => 7, 29 => 4, 26 => 2, 24 => 1, 18 => 7,); |
|
54
|
|
|
} |
|
55
|
|
|
|
|
56
|
|
|
public function getSourceContext() |
|
57
|
|
|
{ |
|
58
|
|
|
return new Twig_Source("{% if has_namespaces %} |
|
59
|
|
|
{% set extension = 'namespaces.twig' %} |
|
60
|
|
|
{% else %} |
|
61
|
|
|
{% set extension = 'classes.twig' %} |
|
62
|
|
|
{% endif %} |
|
63
|
|
|
|
|
64
|
|
|
{% extends extension %} |
|
65
|
|
|
|
|
66
|
|
|
{% block body_class 'index' %} |
|
67
|
|
|
", "index.twig", "phar:///Users/bobby/Dropbox/Sites/OpenSource/Slackify/sami.phar/Sami/Resources/themes/default/index.twig"); |
|
68
|
|
|
} |
|
69
|
|
|
} |
|
70
|
|
|
|
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.