@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace CarbonFramework\Routing\Middleware; |
4 | 4 | |
5 | 5 | use Closure; |
6 | -use GuzzleHttp\Psr7; |
|
7 | 6 | use Flash; |
8 | 7 | use OldInput as OldInputService; |
9 | 8 |
@@ -2,14 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace CarbonFramework\Routing; |
4 | 4 | |
5 | -use ReflectionClass; |
|
6 | -use Exception; |
|
7 | -use CarbonFramework\Url; |
|
8 | 5 | use CarbonFramework\Framework; |
9 | 6 | use CarbonFramework\Request; |
10 | 7 | use CarbonFramework\Routing\Conditions\ConditionInterface; |
11 | 8 | use CarbonFramework\Routing\Conditions\Url as UrlCondition; |
12 | 9 | use CarbonFramework\Routing\Middleware\HasMiddlewareTrait; |
10 | +use Exception; |
|
11 | +use ReflectionClass; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * Represent a route |
@@ -2,13 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace CarbonFramework\Routing; |
4 | 4 | |
5 | -use Closure; |
|
6 | -use Exception; |
|
7 | -use CarbonFramework\Url; |
|
8 | 5 | use CarbonFramework\Request; |
9 | 6 | use CarbonFramework\Routing\Conditions\ConditionInterface; |
10 | 7 | use CarbonFramework\Routing\Conditions\Url as UrlCondition; |
11 | 8 | use CarbonFramework\Routing\Middleware\HasMiddlewareTrait; |
9 | +use Closure; |
|
10 | +use Exception; |
|
12 | 11 | |
13 | 12 | class RouteGroup implements RouteInterface { |
14 | 13 | use HasRoutesTrait { |