[DependencyInjection] Fixed class load order

Fixed a bug that caused a "Cannot redeclare class Symfony\Components\Routing\RouterInterface"
fatal error when booting the Symfony kernel with a populated class cache.
This commit is contained in:
Brandon Turner 2010-07-28 10:23:50 -05:00
parent e931825b47
commit 8275034f5f
2 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ class KernelExtension extends Extension
if (!array_key_exists('compilation', $config)) {
$classes = array(
'Symfony\\Components\\Routing\\Router',
'Symfony\\Components\\Routing\\RouterInterface',
'Symfony\\Components\\Routing\\Router',
'Symfony\\Components\\EventDispatcher\\Event',
'Symfony\\Components\\Routing\\Matcher\\UrlMatcherInterface',
'Symfony\\Components\\Routing\\Matcher\\UrlMatcher',

View File

@ -231,8 +231,8 @@ class KernelExtension extends Extension
if (!array_key_exists('compilation', $config)) {
$classes = array(
'Symfony\\Components\\Routing\\Router',
'Symfony\\Components\\Routing\\RouterInterface',
'Symfony\\Components\\Routing\\Router',
'Symfony\\Components\\EventDispatcher\\Event',
'Symfony\\Components\\Routing\\Matcher\\UrlMatcherInterface',
'Symfony\\Components\\Routing\\Matcher\\UrlMatcher',