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:
998
998
999
999
.. code-block:: yaml
1000
1000
1001
- # app/ config/services.yml
1001
+ # config/services.yaml
1002
1002
services:
1003
- AppBundle\Domain\:
1004
- resource: '../../src/AppBundleDomain/*'
1005
-
1006
- # config/services.yaml
1007
- services:
1008
- App\Domain\:
1009
- resource: '../src/Domain/*'
1010
- # ...
1003
+ App\Domain\:
1004
+ resource: '../src/Domain/*'
1005
+ # ...
1011
1006
1012
1007
.. code-block:: xml
1013
1008
1014
- <!-- app/ config/services.xml -->
1009
+ <!-- config/services.xml -->
1015
1010
<?xml version="1.0" encoding="UTF-8" ?>
1016
1011
<container xmlns="http://symfony.com/schema/dic/services"
1017
1012
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1018
1013
xsi:schemaLocation="http://symfony.com/schema/dic/services
1019
1014
https://symfony.com/schema/dic/services/services-1.0.xsd">
1020
1015
1021
1016
<services>
1022
- <prototype namespace="AppBundle \Domain"
1023
- resource="../../ src/AppBundle /Domain/*"/>
1017
+ <prototype namespace="App \Domain"
1018
+ resource="../src/App /Domain/*"/>
1024
1019
</prototype>
1025
1020
1026
1021
<!-- ... -->
@@ -1029,16 +1024,16 @@ for classes under the same namespace:
1029
1024
1030
1025
.. code-block:: php
1031
1026
1032
- // app/ config/services.php
1027
+ // config/services.php
1033
1028
use Symfony\Component\DependencyInjection\Definition;
1034
1029
1035
1030
$defaults = new Definition();
1036
1031
1037
1032
// $this is a reference to the current loader
1038
1033
$this->registerClasses(
1039
1034
$defaults,
1040
- 'AppBundle \\Domain\\',
1041
- '../../ src/AppBundle /Domain/*'
1035
+ 'App \\Domain\\',
1036
+ '../src/App /Domain/*'
1042
1037
);
1043
1038
1044
1039
// ...
You can’t perform that action at this time.
0 commit comments