| Total Complexity | 2 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 13 | abstract class AbstractTag | ||
| 14 | { | ||
| 15 | protected $pattern; | ||
| 16 | protected $tag; | ||
| 17 | protected $args = []; | ||
| 18 | |||
| 19 | const TAG = 0; | ||
| 20 | const HOOK = 1; | ||
| 21 | |||
| 22 | public function __construct($pattern, $tag) | ||
| 27 | } | ||
| 28 | |||
| 29 |     public function getArgs() { | ||
| 31 | } | ||
| 32 | |||
| 33 | abstract function getLabel(); | ||
|  | |||
| 34 | abstract function setup(); | ||
| 35 | } | 
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.