Total Complexity | 8 |
Total Lines | 38 |
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 | |||
32 | public function fart($dictionary) { |
||
42 | } |
||
43 | |||
44 | public function getTag() { |
||
45 | return $this->tag; |
||
46 | } |
||
47 | |||
48 | public function getReplacement() |
||
51 | } |
||
52 | } |