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 034396f

Browse filesBrowse files
committed
bug #8797 Show controller tag for PHP configuration (themizzi)
This PR was merged into the 3.3 branch. Discussion ---------- Show controller tag for PHP configuration Putting the tag in the PHP documentation is necessary so that controllers are marked as public to avoid a deprecation notice and also to wire them up the same way as controllers configured via xml or yml would be. Commits ------- 4ab96f6 Show controller tag for PHP configuration
2 parents d591900 + 4ab96f6 commit 034396f
Copy full SHA for 034396f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎service_container/3.3-di-changes.rst

Copy file name to clipboardExpand all lines: service_container/3.3-di-changes.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ The third big change is that, in a new Symfony 3.3 project, your controllers are
373373
// app/config/services.php
374374
375375
// ...
376-
376+
377+
$definition->addTag('controller.service_arguments');
377378
$this->registerClasses($definition, 'AppBundle\\Controller\\', '../../src/AppBundle/Controller/*');
378379
379380
But, you might not even notice this. First, your controllers *can* still extend

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.