Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a3be43

Browse filesBrowse files
committed
fix namespaces
1 parent a8d43df commit 1a3be43
Copy full SHA for 1a3be43

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎service_container/tags.rst

Copy file name to clipboardExpand all lines: service_container/tags.rst
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.