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 db96065

Browse filesBrowse files
committed
Fixed code indentation
1 parent 5be08ed commit db96065
Copy full SHA for db96065

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-4
lines changed

‎service_container.rst

Copy file name to clipboardExpand all lines: service_container.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ service's class or interface name. Want to :doc:`log </logging>` something? No p
3636
class ProductController
3737
{
3838
/**
39-
* @Route("/products")
40-
*/
39+
* @Route("/products")
40+
*/
4141
public function list(LoggerInterface $logger)
4242
{
4343
$logger->info('Look! I just used a service');
@@ -194,8 +194,8 @@ each time you ask for it.
194194
->defaults()
195195
->autowire() // Automatically injects dependencies in your services.
196196
->autoconfigure() // Automatically registers your services as commands, event subscribers, etc.
197-
;
198-
197+
;
198+
199199
// makes classes in src/ available to be used as services
200200
// this creates a service per class whose id is the fully-qualified class name
201201
$services->load('App\\', '../src/*')

0 commit comments

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