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 @@ -998,29 +998,24 @@ for classes under the same namespace:
998998
999999 .. code-block :: yaml
10001000
1001- # app/ config/services.yml
1001+ # config/services.yaml
10021002 services :
1003- AppBundle\Domain\ :
1004- resource : ' ../../src/AppBundleDomain/*'
1005-
1006- # config/services.yaml
1007- services:
1008- App\D omain\:
1009- resource: '../src/Domain/*'
1010- # ...
1003+ App\Domain\ :
1004+ resource : ' ../src/Domain/*'
1005+ # ...
10111006
10121007 .. code-block :: xml
10131008
1014- <!-- app/ config/services.xml -->
1009+ <!-- config/services.xml -->
10151010 <?xml version =" 1.0" encoding =" UTF-8" ?>
10161011 <container xmlns =" http://symfony.com/schema/dic/services"
10171012 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10181013 xsi : schemaLocation =" http://symfony.com/schema/dic/services
10191014 https://symfony.com/schema/dic/services/services-1.0.xsd" >
10201015
10211016 <services >
1022- <prototype namespace =" AppBundle \Domain"
1023- resource =" ../../ src/AppBundle /Domain/*" />
1017+ <prototype namespace =" App \Domain"
1018+ resource =" ../src/App /Domain/*" />
10241019 </prototype >
10251020
10261021 <!-- ... -->
@@ -1029,16 +1024,16 @@ for classes under the same namespace:
10291024
10301025 .. code-block :: php
10311026
1032- // app/ config/services.php
1027+ // config/services.php
10331028 use Symfony\Component\DependencyInjection\Definition;
10341029
10351030 $defaults = new Definition();
10361031
10371032 // $this is a reference to the current loader
10381033 $this->registerClasses(
10391034 $defaults,
1040- 'AppBundle \\Domain\\',
1041- '../../ src/AppBundle /Domain/*'
1035+ 'App \\Domain\\',
1036+ '../src/App /Domain/*'
10421037 );
10431038
10441039 // ...
You can’t perform that action at this time.
0 commit comments