| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class RouteCollection extends TypedObjectArray |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Contructor. |
||
| 23 | * |
||
| 24 | * @param array $array |
||
| 25 | */ |
||
| 26 | 76 | public function __construct(array $array = []) |
|
| 27 | { |
||
| 28 | 76 | parent::__construct(Route::class, $array); |
|
| 29 | 75 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * Return collection as array. |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | 71 | public function toArray(): array |
|
| 46 | } |
||
| 47 | } |
||
| 48 |