public function getRoles()
{
return array( 'ROLE_USER' );
}
Alternatively, the roles might be stored on a roles property,
and populated in any number of different ways when the user object
is created. public getRoles ( ) : Role[] | ||
Результат | Role[] | The user roles |