/**
phpDox
Overview
Namespaces
Interfaces
Classes
Traits
Source
Overview
Classes
Symfony\Component\Security\Core\Authentication\Token
TokenInterface
getRoles
Introduction
Synopsis
Return
Source
Symfony\Component\Security\Core\Authentication\Token\TokenInterface::
getRoles
Returns the user roles.
Signature
public function getRoles()
Returns
array
An array of RoleInterface instances.