| Conditions | 4 |
| Paths | 5 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function handle(Container $app, Sandbox $sandbox) |
||
| 24 | { |
||
| 25 | foreach ($sandbox->getProviders() as $provider) { |
||
| 26 | $this->rebindProviderContainer($app, $provider); |
||
| 27 | if (method_exists($provider, 'register')) { |
||
| 28 | $provider->register(); |
||
| 29 | } |
||
| 30 | if (method_exists($provider, 'boot')) { |
||
| 31 | $app->call([$provider, 'boot']); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | return $app; |
||
| 36 | } |
||
| 54 |