| 1 |  |  | <?php | 
            
                                                                                                            
                            
            
                                    
            
            
                | 2 |  |  |  | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 3 |  |  | /* index.twig */ | 
            
                                                                        
                            
            
                                    
            
            
                | 4 |  |  | class __TwigTemplate_62f4867098898f39fbfee89942bb9a2bc59a998c5556371af91ab477e245843f 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"]) ? $context["extension"] : $this->getContext($context, "extension")), "index.twig", 7); | 
            
                                                                        
                            
            
                                    
            
            
                | 19 |  |  |     } | 
            
                                                                        
                            
            
                                    
            
            
                | 20 |  |  |  | 
            
                                                                        
                            
            
                                    
            
            
                | 21 |  |  |     protected function doDisplay(array $context, array $blocks = array()) | 
            
                                                                        
                            
            
                                    
            
            
                | 22 |  |  |     { | 
            
                                                                        
                            
            
                                    
            
            
                | 23 |  |  |         // line 1 | 
            
                                                                        
                            
            
                                    
            
            
                | 24 |  |  |         if ((isset($context["has_namespaces"]) ? $context["has_namespaces"] : $this->getContext($context, "has_namespaces"))) { | 
            
                                                                        
                            
            
                                    
            
            
                | 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 |  |  | /* {% if has_namespaces %}*/ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 57 |  |  | /*     {% set extension = 'namespaces.twig' %}*/ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 58 |  |  | /* {% else %}*/ | 
                            
                    |  |  |  | 
                                                                                        
                                                                                     | 
            
                                                                                                            
                            
            
                                    
            
            
                | 59 |  |  | /*     {% set extension = 'classes.twig' %}*/ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 60 |  |  | /* {% endif %}*/ | 
                            
                    |  |  |  | 
                                                                                        
                                                                                     | 
            
                                                                                                            
                            
            
                                    
            
            
                | 61 |  |  | /* */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 62 |  |  | /* {% extends extension %}*/ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 63 |  |  | /* */ | 
            
                                                                                                            
                            
            
                                    
            
            
                | 64 |  |  | /* {% block body_class 'index' %}*/ | 
            
                                                                                                            
                                                                
            
                                    
            
            
                | 65 |  |  | /* */ | 
            
                                                        
            
                                    
            
            
                | 66 |  |  |  | 
            
                        
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.