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