| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class AssetCollection extends Collection |
||
| 21 | { |
||
| 22 | /** @var Asset[] */ |
||
| 23 | protected $entries; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return Asset[] |
||
| 27 | */ |
||
| 28 | 1 | public function getEntries(): array |
|
| 29 | { |
||
| 30 | 1 | return $this->entries; |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $data |
||
| 35 | * @return AssetCollection |
||
| 36 | */ |
||
| 37 | 1 | public static function fromArray(array $data) |
|
| 47 | } |
||
| 48 | } |
||
| 49 |