| 1 | <?php |
||
| 10 | class References extends CollectionDto |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Reference[] |
||
| 14 | */ |
||
| 15 | public $items; |
||
| 16 | |||
| 17 | 4 | public function __construct(array $references) |
|
| 21 | |||
| 22 | 4 | public static function createFromArray(array $references): self |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return Traversable|Reference[] |
||
| 35 | */ |
||
| 36 | 1 | public function getIterator(): Traversable |
|
| 40 | } |
||
| 41 |