Completed
Push — master ( 782061...5c46be )
by
unknown
13:53
created

DebugTemplate::display()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 2
1
<?php
2
3
/*
4
 * This file is part of the Blast Project package.
5
 *
6
 * Copyright (C) 2015-2017 Libre Informatique
7
 *
8
 * This file is licenced under the GNU LGPL v3.
9
 * For the full copyright and license information, please view the LICENSE.md
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Blast\CoreBundle\Twig;
14
15
abstract class DebugTemplate extends \Twig_Template
16
{
17
    public function display(array $context, array $blocks = array())
18
    {
19
        echo "\n" . '<!-- START: ' . $this->getTemplateName() . ' -->' . "\n";
20
        parent::display($context, $blocks);
21
        echo "\n" . '<!-- END: ' . $this->getTemplateName() . ' -->';
22
    }
23
}
24