Completed
Push — experimental/3.1 ( c83f5d...923e5e )
by Yangsin
63:41 queued 57:20
created

GenericTokenParser::getTag()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
namespace Eccube\Twig\Extension;
3
4
class GenericTokenParser extends AbstractTokenParser
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
5
{
6
7
    protected $tagName;
8
9
    public function __construct($app, $tagName)
0 ignored issues
show
introduced by
Missing function doc comment
Loading history...
10
    {
11
        $this->app = $app;
12
        $this->tagName = $tagName;
13
    }
14
    public function getTag()
0 ignored issues
show
introduced by
Missing function doc comment
Loading history...
15
    {
16
        return $this->tagName;
17
    }
18
}
19