@@ -216,7 +216,6 @@ |
||
| 216 | 216 | * invoke action from a controller an return exec code. |
| 217 | 217 | * for testing purpose return retValue if false |
| 218 | 218 | * |
| 219 | - * @param boolean $forceRetValue |
|
| 220 | 219 | * @return mixed |
| 221 | 220 | */ |
| 222 | 221 | protected function invokeAction(...$args) |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nymfonya\Component\Http\Reuse; |
| 4 | 4 | |
| 5 | -use Nymfonya\Component\Http\Kernel; |
|
| 5 | +use Monolog\Logger; |
|
| 6 | 6 | use Nymfonya\Component\Config; |
| 7 | 7 | use Nymfonya\Component\Container; |
| 8 | +use Nymfonya\Component\Http\Kernel; |
|
| 9 | +use Nymfonya\Component\Http\Middleware; |
|
| 8 | 10 | use Nymfonya\Component\Http\Request; |
| 9 | 11 | use Nymfonya\Component\Http\Response; |
| 10 | 12 | use Nymfonya\Component\Http\Router; |
| 11 | -use Nymfonya\Component\Http\Middleware; |
|
| 12 | -use Monolog\Logger; |
|
| 13 | 13 | use \ReflectionClass; |
| 14 | 14 | |
| 15 | 15 | trait TKernel |
@@ -47,7 +47,6 @@ |
||
| 47 | 47 | /** |
| 48 | 48 | * instanciate |
| 49 | 49 | * |
| 50 | - * @param array $configRoutes |
|
| 51 | 50 | * @param IRequest $request |
| 52 | 51 | */ |
| 53 | 52 | public function __construct(IRoutes $routes, IRequest $request) |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nymfonya\Component\Http; |
| 4 | 4 | |
| 5 | -use Nymfonya\Component\Http\Interfaces\IRoutes; |
|
| 6 | -use Nymfonya\Component\Http\Interfaces\IRoute; |
|
| 7 | 5 | use Nymfonya\Component\Http\Interfaces\IRequest; |
| 6 | +use Nymfonya\Component\Http\Interfaces\IRoute; |
|
| 8 | 7 | use Nymfonya\Component\Http\Interfaces\IRouter; |
| 8 | +use Nymfonya\Component\Http\Interfaces\IRoutes; |
|
| 9 | 9 | |
| 10 | 10 | class Router implements IRouter |
| 11 | 11 | { |