| 1 | <?php |
||
| 10 | final class Paths extends ValueObject |
||
| 11 | { |
||
| 12 | use Properties\OptionalExtensions; |
||
| 13 | |||
| 14 | private $paths = []; |
||
| 15 | |||
| 16 | 4 | public function __construct( |
|
| 26 | |||
| 27 | 1 | public function getPath(string $path): Path |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return Path[] |
||
| 34 | */ |
||
| 35 | 4 | public function getPaths(): array |
|
| 39 | |||
| 40 | 1 | public function hasPath(string $path): bool |
|
| 44 | |||
| 45 | 4 | public function jsonSerialize(): ?array |
|
| 49 | |||
| 50 | 4 | protected function normalizeOptionalProperties(): array |
|
| 59 | |||
| 60 | 2 | private function setPath(string $urlPath, Path $path): void |
|
| 64 | } |
||
| 65 |