| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | public function register() |
||
| 37 | { |
||
| 38 | $this->configure(); |
||
| 39 | |||
| 40 | $this->app->singleton(FormerHelperContract::class, function ($app) { |
||
| 41 | return new FormerHelper($app['view'], $app['translator'], $app['config'], $app['url']); |
||
| 42 | }); |
||
| 43 | |||
| 44 | $this->app->singleton(FormerContract::class, function ($app) { |
||
| 45 | return new Former($app[FormerHelperContract::class]); |
||
| 46 | }); |
||
| 47 | } |
||
| 48 | |||
| 61 |