Skip to content

Commit 83dc9d7

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Bundle example does not implement `CompilerPassInterface`
2 parents 9d05a22 + cbc6c87 commit 83dc9d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container/compiler_passes.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ bundle class::
7777
namespace App\MyBundle;
7878

7979
use App\DependencyInjection\Compiler\CustomPass;
80+
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
8081
use Symfony\Component\DependencyInjection\ContainerBuilder;
8182
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
8283

83-
class MyBundle extends AbstractBundle
84+
class MyBundle extends AbstractBundle implements CompilerPassInterface
8485
{
8586
public function process(ContainerBuilder $container): void
8687
{

0 commit comments

Comments
 (0)