| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function register() |
||
| 35 | { |
||
| 36 | // Automatically apply the package configuration |
||
| 37 | $this->mergeConfigFrom(__DIR__.'/../config/unsplash.php', 'unsplash'); |
||
| 38 | |||
| 39 | // Register the main class to use with the facade |
||
| 40 | $this->app->singleton('unsplash', function () { |
||
| 41 | return new Unsplash(); |
||
| 42 | }); |
||
| 43 | |||
| 44 | // Bind main class to service container |
||
| 45 | $this->app->bind(Unsplash::class, function () { |
||
| 46 | return new Unsplash(); |
||
| 47 | }); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |