File tree Expand file tree Collapse file tree 1 file changed +10
-15
lines changed
Expand file tree Collapse file tree 1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -990,29 +990,24 @@ for classes under the same namespace:
990990
991991 .. code-block:: yaml
992992
993- # app/ config/services.yml
993+ # config/services.yaml
994994 services:
995- AppBundle\Domain\:
996- resource: '../../src/AppBundleDomain/*'
997-
998- # config/services.yaml
999- services:
1000- App\Domain\:
1001- resource: '../src/Domain/*'
1002- # ...
995+ App\Domain\:
996+ resource: '../src/Domain/*'
997+ # ...
1003998
1004999 .. code-block:: xml
10051000
1006- <!-- app/ config/services.xml -->
1001+ <!-- config/services.xml -->
10071002 <?xml version="1.0" encoding="UTF-8" ?>
10081003 <container xmlns="http://symfony.com/schema/dic/services"
10091004 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10101005 xsi:schemaLocation="http://symfony.com/schema/dic/services
10111006 https://symfony.com/schema/dic/services/services-1.0.xsd">
10121007
10131008 <services>
1014- <prototype namespace="AppBundle \Domain"
1015- resource="../../ src/AppBundle /Domain/*"/>
1009+ <prototype namespace="App \Domain"
1010+ resource="../src/App /Domain/*"/>
10161011 </prototype>
10171012
10181013 <!-- ... -->
@@ -1021,16 +1016,16 @@ for classes under the same namespace:
10211016
10221017 .. code-block:: php
10231018
1024- // app/ config/services.php
1019+ // config/services.php
10251020 use Symfony\Component\DependencyInjection\Definition;
10261021
10271022 $defaults = new Definition();
10281023
10291024 // $this is a reference to the current loader
10301025 $this->registerClasses(
10311026 $defaults,
1032- 'AppBundle \\Domain\\',
1033- '../../ src/AppBundle /Domain/*'
1027+ 'App \\Domain\\',
1028+ '../src/App /Domain/*'
10341029 );
10351030
10361031 // ...
You can’t perform that action at this time.
0 commit comments