| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 6 | public function register() |
|
| 28 | { |
||
| 29 | // Automatically apply the package configuration |
||
| 30 | 6 | $this->mergeConfigFrom(__DIR__ . '/../config/datos-abiertos.php', 'datos-abiertos'); |
|
| 31 | |||
| 32 | // Register the main class to use with the facade |
||
| 33 | $this->app->singleton('colegios', function () { |
||
| 34 | 2 | return new Colegios; |
|
| 35 | 6 | }); |
|
| 36 | |||
| 37 | $this->app->singleton('divipola', function () { |
||
| 38 | 2 | return new Divipola; |
|
| 39 | 6 | }); |
|
| 40 | |||
| 41 | $this->app->singleton('organismo-transito', function () { |
||
| 42 | 2 | return new OrganismosTransito; |
|
| 43 | 6 | }); |
|
| 44 | 6 | } |
|
| 45 | } |
||
| 46 |