Skip to content

Commit c9e8df9

Browse files
committed
Updates according to reviews
1 parent d6a43c1 commit c9e8df9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,12 +2535,10 @@ Defines the Doctrine entities that will be introspected to add
25352535
<framework:config>
25362536
<framework:validation>
25372537
<framework:auto-mapping>
2538-
<framework:namespace>App\Entity\</framework:namespace>
2539-
<framework:service/>
2538+
<framework:service namespace="App\Entity\"/>
25402539
2541-
<framework:namespace>Foo\</framework:namespace>
2542-
<framework:service>Foo\Some\Entity</framework:service>
2543-
<framework:service>Foo\Another\Entity</framework:service>
2540+
<framework:service namespace="Foo\">Foo\Some\Entity</framework:service>
2541+
<framework:service namespace="Foo\">Foo\Another\Entity</framework:service>
25442542
</framework:auto-mapping>
25452543
</framework:validation>
25462544
</framework:config>
@@ -2555,8 +2553,8 @@ Defines the Doctrine entities that will be introspected to add
25552553
$framework->validation()
25562554
->autoMapping()
25572555
->paths([
2558-
'App\Entity\' => [],
2559-
'Foo\' => ['Foo\Some\Entity', 'Foo\Another\Entity'],
2556+
'App\\Entity\\' => [],
2557+
'Foo\\' => ['Foo\\Some\\Entity', 'Foo\\Another\\Entity'],
25602558
]);
25612559
};
25622560

0 commit comments

Comments
 (0)