Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class TemplateTag extends AbstractTag |
||
14 | { |
||
15 | |||
16 | public function getLabel() |
||
17 | { |
||
18 | $matches = []; |
||
19 | preg_match_all($this->pattern, $this->tag,$matches, PREG_SET_ORDER); |
||
20 | return $matches[0][1]; |
||
21 | } |
||
22 | |||
23 | public function setup() { |
||
24 | $this->type = AbstractTag::TAG; |
||
|
|||
25 | } |
||
26 | |||
27 | public function getArgs() |
||
29 | // TODO: Implement getArgs() method. |
||
30 | } |
||
31 | } |