| 1 | <?php |
||
| 17 | class CacheResolved implements \JsonSerializable |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $path; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string[] |
||
| 26 | */ |
||
| 27 | private $uris; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string[]|null $uris |
||
| 31 | */ |
||
| 32 | public function __construct(string $path, array $uris) |
||
| 37 | |||
| 38 | public function getPath(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string[] |
||
| 45 | */ |
||
| 46 | public function getUris(): array |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function jsonSerialize(): array |
||
| 58 | |||
| 59 | public static function jsonDeserialize(string $json): self |
||
| 73 | } |
||
| 74 |