| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class RebindKernelContainer implements ResetterContract |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var \Illuminate\Contracts\Container\Container |
||
| 13 | */ |
||
| 14 | protected $app; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * "handle" function for resetting app. |
||
| 18 | * |
||
| 19 | * @param \Illuminate\Contracts\Container\Container $app |
||
| 20 | * @param \SwooleTW\Http\Server\Sandbox $sandbox |
||
| 21 | * |
||
| 22 | * @return \Illuminate\Contracts\Container\Container |
||
| 23 | */ |
||
| 24 | public function handle(Container $app, Sandbox $sandbox) |
||
| 40 |