8000 [Kernel] Move the cache compiler passes into the Kernel component · symfony/symfony@dc4b7d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc4b7d8

Browse files
committed
[Kernel] Move the cache compiler passes into the Kernel component
1 parent b819518 commit dc4b7d8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ProfilerPass;
2525
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\TranslatorPass;
2626
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\LoggingTranslatorPass;
27-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheWarmerPass;
28-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheClearerPass;
2927
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddExpressionLanguageProvidersPass;
3028
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ContainerBuilderDebugDumpPass;
3129
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\CompilerDebugDumpPass;
@@ -39,6 +37,8 @@
3937
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
4038
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
4139
use Symfony\Component\HttpKernel\DependencyInjection\FragmentRendererPass;
40+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass;
41+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheClearerPass;
4242
use Symfony\Component\HttpFoundation\Request;
4343
use Symfony\Component\HttpKernel\Bundle\Bundle;
4444

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddCacheClearerPass.php renamed to src/Symfony/Component/HttpKernel/DependencyInjection/AddCacheClearerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
1515
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddCacheWarmerPass.php renamed to src/Symfony/Component/HttpKernel/DependencyInjection/AddCacheWarmerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceTrait;
1515
use Symfony\Component\DependencyInjection\ContainerBuilder;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
12+
namespace Symfony\Component\HttpKernel\Tests\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\Reference;
15-
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddCacheWarmerPass;
15+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass;
1616

1717
class AddCacheWarmerPassTest extends \PHPUnit_Framework_TestCase
1818
{

0 commit comments

Comments
 (0)
0