Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class Title implements OutputElementInterface |
||
9 | { |
||
10 | private string $title; |
||
11 | |||
12 | public static function create(string $title): self |
||
13 | { |
||
14 | $element = new self(); |
||
15 | $element->title = $title; |
||
16 | |||
17 | return $element; |
||
18 | } |
||
19 | |||
20 | public function getTitle(): string |
||
23 | } |
||
24 | } |
||
25 |