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 48cc9cd

Browse filesBrowse files
committed
minor #4647 Update controllers.rst (keefekwan)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4647). Discussion ---------- Update controllers.rst Added in Route/ParamConverter use statements and @ParamConverter annotation Commits ------- 1a0534d Update controllers.rst
2 parents 2efed8c + 1a0534d commit 48cc9cd
Copy full SHA for 48cc9cd

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-0
lines changed

‎best_practices/controllers.rst

Copy file name to clipboardExpand all lines: best_practices/controllers.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ For example:
136136

137137
.. code-block:: php
138138
139+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
140+
139141
/**
140142
* @Route("/{id}", name="admin_post_show")
141143
*/

0 commit comments

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