8000 [FrameworkBundle] Add BC for cache passes · symfony/symfony@4742143 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4742143

Browse files
committed
[FrameworkBundle] Add BC for cache passes
1 parent dc4b7d8 commit 4742143

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
13+
14+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheClearerPass as RealAddCacheClearerPass;
15+
16+
@trigger_error('The '.AddCacheClearerPass::class.' class is deprecated since version 3.2 and will be removed in 4.0. Use the '.RealAddCacheClearerPass::class.' class instead.', E_USER_DEPRECATED);
17+
18+
/**
19+
* Registers the cache clearers.
20+
*
21+
* @author Dustin Dobervich <ddobervich@gmail.com>
22+
*/
23+
class AddCacheClearerPass extends RealAddCacheClearerPass
24+
{
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
13+
14+
use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass as RealAddCacheWarmerPass;
15+
16+
@trigger_error('The '.AddCacheWarmerPass::class.' class is deprecated since version 3.2 and will be removed in 4.0. Use the '.RealAddCacheWarmerPass::class.' class instead.', E_USER_DEPRECATED);
17+
18+
/**
19+
* Registers the cache warmers.
20+
*
21+
* @author Fabien Potencier <fabien@symfony.com>
22+
*/
23+
class AddCacheWarmerPass extends RealAddCacheWarmerPass
24+
{
25+
}

0 commit comments

Comments
 (0)
0