Completed
Push — wip-platform ( 03cba6...2999ab )
by
unknown
05:53 queued 02:49
created

DebugTemplate   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A display() 0 6 1
1
<?php
2
3
/*
4
 *
5
 * Copyright (C) 2015-2017 Libre Informatique
6
 *
7
 * This file is licenced under the GNU LGPL v3.
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Blast\Bundle\CoreBundle\Twig;
13
14
abstract class DebugTemplate extends \Twig_Template
15
{
16
    public function display(array $context, array $blocks = array())
17
    {
18
        echo "\n" . '<!-- START: ' . $this->getTemplateName() . ' -->' . "\n";
19
        parent::display($context, $blocks);
20
        echo "\n" . '<!-- END: ' . $this->getTemplateName() . ' -->';
21
    }
22
}
23