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

GenericTokenParser::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
c 0
b 0
f 0
nc 1
nop 2
dl 0
loc 5
rs 9.4285
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