|
11 | 11 |
|
12 | 12 | namespace Symfony\Cmf\Component\Routing;
|
13 | 13 |
|
| 14 | +use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface; |
| 15 | +use Symfony\Cmf\Component\Routing\Event\Events; |
| 16 | +use Symfony\Cmf\Component\Routing\Event\RouterGenerateEvent; |
| 17 | +use Symfony\Cmf\Component\Routing\Event\RouterMatchEvent; |
| 18 | +use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
14 | 19 | use Symfony\Component\HttpFoundation\Request;
|
15 |
| -use Symfony\Component\Routing\RequestContext; |
16 |
| -use Symfony\Component\Routing\Route; |
17 |
| -use Symfony\Component\Routing\RouteCollection; |
18 |
| -use Symfony\Component\Routing\RouterInterface; |
| 20 | +use Symfony\Component\Routing\Exception\MethodNotAllowedException; |
| 21 | +use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
| 22 | +use Symfony\Component\Routing\Exception\RouteNotFoundException; |
19 | 23 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
20 | 24 | use Symfony\Component\Routing\Matcher\RequestMatcherInterface;
|
21 | 25 | use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
|
| 26 | +use Symfony\Component\Routing\RequestContext; |
22 | 27 | use Symfony\Component\Routing\RequestContextAwareInterface;
|
23 |
| -use Symfony\Component\Routing\Exception\RouteNotFoundException; |
24 |
| -use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
25 |
| -use Symfony\Component\Routing\Exception\MethodNotAllowedException; |
26 |
| -use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface; |
27 |
| -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
28 |
| -use Symfony\Cmf\Component\Routing\Event\Events; |
29 |
| -use Symfony\Cmf\Component\Routing\Event\RouterMatchEvent; |
30 |
| -use Symfony\Cmf\Component\Routing\Event\RouterGenerateEvent; |
| 28 | +use Symfony\Component\Routing\Route; |
| 29 | +use Symfony\Component\Routing\RouteCollection; |
| 30 | +use Symfony\Component\Routing\RouterInterface; |
31 | 31 |
|
32 | 32 | /**
|
33 | 33 | * A flexible router accepting matcher and generator through injection and
|
|
0 commit comments