| 1 | <?php |
||
| 9 | class UriCollectionDescriptor implements DescriptorInterface, \IteratorAggregate |
||
| 10 | { |
||
| 11 | private $uris; |
||
| 12 | |||
| 13 | public function __construct(array $uris) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Return an array of URIs. Note that the keys |
||
| 20 | * CAN be the class FQN of the object to which the URI |
||
| 21 | * is related. |
||
| 22 | */ |
||
| 23 | public function getValues(): array |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function getIterator() |
||
| 35 | } |
||
| 36 |