Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function __construct(array $endpoints = [], array $config = []) |
||
25 | { |
||
26 | $defaultEndpoints = [ |
||
27 | Endpoints\Pokedex::class |
||
28 | ]; |
||
29 | $models = [ |
||
30 | 'Pokedex' => Models\Pokedex::class |
||
31 | ]; |
||
32 | |||
33 | $config['models'] = $models; |
||
34 | parent::__construct(array_merge($defaultEndpoints, $endpoints), $config); |
||
35 | } |
||
36 | } |
||
37 |