Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | abstract class Tag |
||
6 | { |
||
7 | protected static $content; |
||
8 | protected static $config; |
||
9 | |||
10 | /** |
||
11 | * Tag constructor. |
||
12 | */ |
||
13 | public function __construct() |
||
16 | } |
||
17 | |||
18 | abstract public function handle(); |
||
19 | |||
20 | public static function setContent(string $content): void |
||
21 | { |
||
22 | self::$content = $content; |
||
23 | } |
||
24 | |||
25 | public static function getContent(): string |
||
26 | { |
||
27 | return self::$content; |
||
28 | } |
||
29 | |||
30 | public static function setConfig(array $config): void |
||
33 | } |
||
34 | |||
35 | public static function getConfig(): array |
||
38 | } |
||
39 | } |