@@ -25,8 +25,8 @@ entry in that array:
25
25
26
26
.. code-block :: php-annotations
27
27
28
- // src/Acme/UserBundle /Entity/User.php
29
- namespace Acme\UserBundle \Entity;
28
+ // src/AppBundle /Entity/User.php
29
+ namespace AppBundle \Entity;
30
30
31
31
use Symfony\Component\Validator\Constraints as Assert;
32
32
@@ -43,8 +43,8 @@ entry in that array:
43
43
44
44
.. code-block :: yaml
45
45
46
- # src/Acme/UserBundle /Resources/config/validation.yml
47
- Acme\UserBundle \Entity\User :
46
+ # src/AppBundle /Resources/config/validation.yml
47
+ AppBundle \Entity\User :
48
48
properties :
49
49
favoriteColors :
50
50
- All :
@@ -54,13 +54,13 @@ entry in that array:
54
54
55
55
.. code-block :: xml
56
56
57
- <!-- src/Acme/UserBundle /Resources/config/validation.xml -->
57
+ <!-- src/AppBundle /Resources/config/validation.xml -->
58
58
<?xml version =" 1.0" encoding =" UTF-8" ?>
59
59
<constraint-mapping xmlns =" http://symfony.com/schema/dic/constraint-mapping"
60
60
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
61
61
xsi : schemaLocation =" http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd" >
62
62
63
- <class name =" Acme\UserBundle \Entity\User" >
63
+ <class name =" AppBundle \Entity\User" >
64
64
<property name =" favoriteColors" >
65
65
<constraint name =" All" >
66
66
<option name =" constraints" >
@@ -76,8 +76,8 @@ entry in that array:
76
76
77
77
.. code-block :: php
78
78
79
- // src/Acme/UserBundle /Entity/User.php
80
- namespace Acme\UserBundle \Entity;
79
+ // src/AppBundle /Entity/User.php
80
+ namespace AppBundle \Entity;
81
81
82
82
use Symfony\Component\Validator\Mapping\ClassMetadata;
83
83
use Symfony\Component\Validator\Constraints as Assert;
0 commit comments