@@ -167,12 +167,11 @@ role::
167167Roles
168168-----
169169
170- Roles are objects that give expression to a certain right the user has.
171- The only requirement is that they extend:class: `Symfony\\ Component\\ Security\\ Core\\ Role\\ Role `,
172- which means they have a:method: `Symfony\\ Component\\ Security\\ Core\\ Role\\ Role::getRole `
173- method that returns a string representation of the role itself. The default
174- :class: `Symfony\\ Component\\ Security\\ Core\\ Role\\ Role ` simply returns its
175- first constructor argument::
170+ Roles are objects that give expression to a certain right the user has. The only
171+ requirement is that they must define a ``getRole() `` method that returns a
172+ string representation of the role itself. To do so, you can optionally extend
173+ from the default:class: `Symfony\\ Component\\ Security\\ Core\\ Role\\ Role ` class,
174+ which returns its first constructor argument in this method::
176175
177176 use Symfony\Component\Security\Core\Role\Role;
178177