| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class TemplateTag extends AbstractTag |
||
| 14 | { |
||
| 15 | |||
| 16 | 13 | public function getLabel() |
|
| 17 | { |
||
| 18 | 13 | $matches = []; |
|
| 19 | 13 | preg_match_all($this->pattern, $this->tag,$matches, PREG_SET_ORDER); |
|
| 20 | 13 | return $matches[0][1]; |
|
| 21 | } |
||
| 22 | |||
| 23 | 23 | public function setup() { |
|
| 25 | 23 | } |
|
| 26 | |||
| 27 | // public function getArgs() |
||
| 28 | // { |
||
| 29 | // // TODO: Implement getArgs() method. |
||
| 30 | // } |
||
| 31 | |||
| 32 | 9 | public function fart($dictionary) { |
|
| 42 | } |
||
| 43 | |||
| 44 | 3 | public function getTag() { |
|
| 45 | 3 | return $this->tag; |
|
| 46 | } |
||
| 47 | |||
| 48 | 9 | public function getReplacement() |
|
| 51 | } |
||
| 52 | |||
| 53 | } |