Skip to content

Commit 1a3be43

Browse files
committed
fix namespaces
1 parent a8d43df commit 1a3be43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

service_container/tags.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,13 @@ add the compiler pass to the container in a :doc:`bundle extension </bundles/ext
255255
or from your kernel::
256256

257257
// src/Kernel.php
258+
namespace App;
259+
258260
use App\DependencyInjection\Compiler\MailTransportPass;
261+
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
259262
// ...
260263

261-
class Kernel extends Kernel
264+
class Kernel extends BaseKernel
262265
{
263266
// ...
264267

0 commit comments

Comments
 (0)