Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class EntityPropertiesTemplate |
||
17 | { |
||
18 | /** @var string */ |
||
19 | private $template; |
||
20 | |||
21 | private function __construct(string $template) |
||
22 | { |
||
23 | $this->template = $template; |
||
24 | } |
||
25 | |||
26 | public function __toString(): string |
||
27 | { |
||
28 | return $this->template; |
||
29 | } |
||
30 | |||
31 | public static function create(string $template): self |
||
34 | } |
||
35 | } |
||
36 |