| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Cviebrock\EloquentSluggable; |
||
| 38 | public function register() |
||
| 39 | { |
||
| 40 | $this->mergeConfigFrom(__DIR__ . '/../resources/config/sluggable.php', 'sluggable'); |
||
| 41 | |||
| 42 | $this->app->singleton(SluggableObserver::class, function ($app) { |
||
| 43 | return new SluggableObserver(new SlugService(), $app['events']); |
||
| 44 | }); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |