Skip to content

Commit

Permalink
complete XML config sample
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Aug 26, 2015
1 parent c1cfdf9 commit f921ffe
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Resources/doc/groups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ Below is an example configuration for enabling groups support.
.. code-block:: xml
<!-- app/config/config.xml -->
<fos_user:config
db-driver="orm"
firewall-name="main"
user-class="AppBundle\Entity\User"
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:fos-user="http://friendsofsymfony.github.io/schema/dic/user"
>
<fos_user:group group-class="AppBundle\Entity\Group" />
</fos_user:config>
<fos_user:config
db-driver="orm"
firewall-name="main"
user-class="AppBundle\Entity\User"
>
<fos_user:group group-class="AppBundle\Entity\Group" />
</fos_user:config>
</container>

The Group class
---------------
Expand Down

0 comments on commit f921ffe

Please sign in to comment.