Skip to content

Commit cfdfb95

Browse files
committed
Merge pull request symfony#1934 from hades200082/2.0
Made all namespaces Acme\UserBundle to be consistent throughout document...
2 parents c90ba5d + 61b2b1a commit cfdfb95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/security/entity_provider.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ For this example, the first three methods will return ``true`` whereas the
294294
.. code-block:: php
295295
296296
// src/Acme/UserBundle/Entity/User.php
297-
namespace Acme\Bundle\UserBundle\Entity;
297+
namespace Acme\UserBundle\Entity;
298298
299299
// ...
300300
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
446446
returns the list of related groups::
447447

448448
// src/Acme/UserBundle/Entity/User.php
449-
namespace Acme\Bundle\UserBundle\Entity;
449+
namespace Acme\UserBundle\Entity;
450450

451451
use Doctrine\Common\Collections\ArrayCollection;
452452
// ...
@@ -500,7 +500,7 @@ implements the :class:`Symfony\\Component\\Security\\Core\\Role\\RoleInterface`
500500
that forces it to have a ``getRole()`` method::
501501

502502
// src/Acme/Bundle/UserBundle/Entity/Group.php
503-
namespace Acme\Bundle\UserBundle\Entity;
503+
namespace Acme\UserBundle\Entity;
504504

505505
use Symfony\Component\Security\Core\Role\RoleInterface;
506506
use Doctrine\Common\Collections\ArrayCollection;
@@ -556,7 +556,7 @@ relationship in the ``UserRepository::loadUserByUsername()`` method. This will
556556
fetch the user and his associated roles / groups with a single query::
557557

558558
// src/Acme/UserBundle/Entity/UserRepository.php
559-
namespace Acme\Bundle\UserBundle\Entity;
559+
namespace Acme\UserBundle\Entity;
560560

561561
// ...
562562

0 commit comments

Comments
 (0)