Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Author |
||
16 | { |
||
17 | use NameableTrait; |
||
18 | use IconTrait; |
||
19 | |||
20 | /** |
||
21 | * @var string|null |
||
22 | */ |
||
23 | private $url; |
||
24 | |||
25 | /** |
||
26 | * @return string|null |
||
27 | */ |
||
28 | public function getUrl(): ?string |
||
29 | { |
||
30 | return $this->url; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string|null $url |
||
35 | * |
||
36 | * @return Author |
||
37 | */ |
||
38 | public function setUrl(?string $url): Author |
||
43 | } |
||
44 | } |
||
45 |