| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class UnobserveServiceProvider extends ServiceProvider implements DeferrableProvider |
||
| 9 | { |
||
| 10 | public function register() |
||
| 11 | { |
||
| 12 | parent::register(); |
||
| 13 | |||
| 14 | $this->app->singleton(ProxyManager::class, function ($app) { |
||
| 15 | return new ProxyManager($app); |
||
| 16 | }); |
||
| 17 | |||
| 18 | $this->app->bind(Proxy::class, function ($app, $parameters) { |
||
| 19 | return new Proxy($parameters['target'], $parameters['events']); |
||
| 20 | }); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function provides() |
||
| 26 | } |
||
| 27 | } |
||
| 28 |