@@ -8,6 +8,7 @@ |
||
| 8 | 8 | * instanciate |
| 9 | 9 | * |
| 10 | 10 | * @param string $routeItem |
| 11 | + * @return void |
|
| 11 | 12 | */ |
| 12 | 13 | public function __construct(string $routeItem); |
| 13 | 14 | |
@@ -9,6 +9,7 @@ |
||
| 9 | 9 | * |
| 10 | 10 | * @param string $env |
| 11 | 11 | * @param string $path |
| 12 | + * @return void |
|
| 12 | 13 | */ |
| 13 | 14 | public function __construct(string $env, string $path); |
| 14 | 15 | |
@@ -10,6 +10,7 @@ |
||
| 10 | 10 | * instanciate |
| 11 | 11 | * |
| 12 | 12 | * @param array $routes |
| 13 | + * @return void |
|
| 13 | 14 | */ |
| 14 | 15 | public function __construct(array $routes); |
| 15 | 16 | |
@@ -16,6 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @param RoutesInterface $routes |
| 18 | 18 | * @param RequestInterface $request |
| 19 | + * @return void |
|
| 19 | 20 | */ |
| 20 | 21 | public function __construct(RoutesInterface $routes, RequestInterface $request); |
| 21 | 22 | |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace Nymfonya\Component\Http; |
| 4 | 4 | |
| 5 | 5 | use Nymfonya\Component\Http\Headers; |
| 6 | +use Nymfonya\Component\Http\Interfaces\KernelEventsInterface; |
|
| 6 | 7 | use Nymfonya\Component\Http\Interfaces\KernelInterface; |
| 7 | 8 | use Nymfonya\Component\Http\Response; |
| 8 | -use Nymfonya\Component\Http\Interfaces\KernelEventsInterface; |
|
| 9 | 9 | use Nymfonya\Component\Pubsub\Dispatcher; |
| 10 | 10 | use Nymfonya\Component\Pubsub\Event; |
| 11 | 11 | |
@@ -5,12 +5,12 @@ |
||
| 5 | 5 | use Monolog\Logger; |
| 6 | 6 | use Nymfonya\Component\Config; |
| 7 | 7 | use Nymfonya\Component\Container; |
| 8 | -use Nymfonya\Component\Pubsub\Dispatcher; |
|
| 9 | 8 | use Nymfonya\Component\Http\Kernel; |
| 10 | 9 | use Nymfonya\Component\Http\Middleware; |
| 11 | 10 | use Nymfonya\Component\Http\Request; |
| 12 | 11 | use Nymfonya\Component\Http\Response; |
| 13 | 12 | use Nymfonya\Component\Http\Router; |
| 13 | +use Nymfonya\Component\Pubsub\Dispatcher; |
|
| 14 | 14 | use \ReflectionClass; |
| 15 | 15 | |
| 16 | 16 | trait TKernel |