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 e92115e

Browse filesBrowse files
greg0irejaviereguiluz
authored andcommitted
Escape backslash before string termination
To php, 'App\' looks like a string that contains a quote and is not finished. Using \\, the only escape sequence that works within single quotes, should fix the issue. This was introduced in 2a5b114 , which is only present on the master branch at the time.
1 parent 381c264 commit e92115e
Copy full SHA for e92115e

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎service_container/configurators.rst

Copy file name to clipboardExpand all lines: service_container/configurators.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ all the classes are already loaded as services. All you need to do is specify th
176176
$services = $configurator->services();
177177
178178
// Registers all 4 classes as services, including App\Mail\EmailConfigurator
179-
$services->load('App\', '../src/*');
179+
$services->load('App\\', '../src/*');
180180
181181
// override the services to set the configurator
182182
$services->set(NewsletterManager::class)
@@ -250,7 +250,7 @@ routes can reference :ref:`invokable controllers <controller-service-invoke>`.
250250
$services = $configurator->services();
251251
252252
// Registers all 4 classes as services, including App\Mail\EmailConfigurator
253-
$services->load('App\', '../src/*');
253+
$services->load('App\\', '../src/*');
254254
255255
// override the services to set the configurator
256256
$services->set(NewsletterManager::class)

0 commit comments

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