@@ -265,7 +265,7 @@ For this example, the first three methods will return ``true`` whereas the
265
265
.. code-block :: php
266
266
267
267
// src/Acme/UserBundle/Entity/User.php
268
- namespace Acme\Bundle\ UserBundle\Entity;
268
+ namespace Acme\UserBundle\Entity;
269
269
270
270
// ...
271
271
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
@@ -417,7 +417,7 @@ more users. As a group is also a role, the previous ``getRoles()`` method now
417
417
returns the list of related groups::
418
418
419
419
// src/Acme/UserBundle/Entity/User.php
420
- namespace Acme\Bundle\ UserBundle\Entity;
420
+ namespace Acme\UserBundle\Entity;
421
421
422
422
use Doctrine\Common\Collections\ArrayCollection;
423
423
// ...
@@ -451,7 +451,7 @@ implements the :class:`Symfony\\Component\\Security\\Core\\Role\\RoleInterface`
451
451
that forces it to have a ``getRole() `` method::
452
452
453
453
// src/Acme/Bundle/UserBundle/Entity/Group.php
454
- namespace Acme\Bundle\ UserBundle\Entity;
454
+ namespace Acme\UserBundle\Entity;
455
455
456
456
use Symfony\Component\Security\Core\Role\RoleInterface;
457
457
use Doctrine\Common\Collections\ArrayCollection;
@@ -507,7 +507,7 @@ relationship in the ``UserRepository::loadUserByUsername()`` method. This will
507
507
fetch the user and his associated roles / groups with a single query::
508
508
509
509
// src/Acme/UserBundle/Entity/UserRepository.php
510
- namespace Acme\Bundle\ UserBundle\Entity;
510
+ namespace Acme\UserBundle\Entity;
511
511
512
512
// ...
513
513
0 commit comments