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

Skip to content

Commit b8309a3

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

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 BaseAddCacheClearerPass;
15+
16+
@trigger_error('The '.AddCacheClearerPass::class.' class is deprecated since version 3.2 and will be removed in 4.0. Use the '.BaseAddCacheClearerPass::class.' class instead.', E_USER_DEPRECATED);
17+
18+
/**
19+
* Registers the cache clearers.
20+
*
21+
* @deprecated This class is deprecated since 3.2, and will be removed in 4.0. Use Symfony\Component\HttpKernel\DependencyInjection\AddCacheClearerPass instead.
22+
* @author Dustin Dobervich <ddobervich@gmail.com>
23+
*/
24+
class AddCacheClearerPass extends BaseAddCacheClearerPass
25+
{
26+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 BaseAddCacheWarmerPass;
15+
16+
@trigger_error('The '.AddCacheWarmerPass::class.' class is deprecated since version 3.2 and will be removed in 4.0. Use the '.BaseAddCacheWarmerPass::class.' class instead.', E_USER_DEPRECATED);
17+
18+
/**
19+
* Registers the cache warmers.
20+
*
21+
* @deprecated This class is deprecated since 3.2, and will be removed in 4.0. Use Symfony\Component\HttpKernel\DependencyInjection\AddCacheWarmerPass instead.
22+
* @author Fabien Potencier <fabien@symfony.com>
23+
*/
24+
class AddCacheWarmerPass extends BaseAddCacheWarmerPass
25+
{
26+
}

0 commit comments

Comments
 (0)
0