@@ -294,7 +294,7 @@ For this example, the first three methods will return ``true`` whereas the
294
294
.. code-block :: php
295
295
296
296
// src/Acme/UserBundle/Entity/User.php
297
- namespace Acme\Bundle\ UserBundle\Entity;
297
+ namespace Acme\UserBundle\Entity;
298
298
299
299
// ...
300
300
use Symfony\Component\Security\Core\User\AdvancedUserInterface;
@@ -446,7 +446,7 @@ more users. As a group is also a role, the previous ``getRoles()`` method now
446
446
returns the list of related groups::
447
447
448
448
// src/Acme/UserBundle/Entity/User.php
449
- namespace Acme\Bundle\ UserBundle\Entity;
449
+ namespace Acme\UserBundle\Entity;
450
450
451
451
use Doctrine\Common\Collections\ArrayCollection;
452
452
// ...
@@ -500,7 +500,7 @@ implements the :class:`Symfony\\Component\\Security\\Core\\Role\\RoleInterface`
500
500
that forces it to have a ``getRole() `` method::
501
501
502
502
// src/Acme/Bundle/UserBundle/Entity/Group.php
503
- namespace Acme\Bundle\ UserBundle\Entity;
503
+ namespace Acme\UserBundle\Entity;
504
504
505
505
use Symfony\Component\Security\Core\Role\RoleInterface;
506
506
use Doctrine\Common\Collections\ArrayCollection;
@@ -556,7 +556,7 @@ relationship in the ``UserRepository::loadUserByUsername()`` method. This will
556
556
fetch the user and his associated roles / groups with a single query::
557
557
558
558
// src/Acme/UserBundle/Entity/UserRepository.php
559
- namespace Acme\Bundle\ UserBundle\Entity;
559
+ namespace Acme\UserBundle\Entity;
560
560
561
561
// ...
562
562
0 commit comments