collect(Request $request,
array getRoles() Gets the roles of the user.
string getName() Returns the name of the collector.
string[] getVoters() Returns the FQCN of the security voters enabled in the application.
bool isAuthenticated() Checks if the user is authenticated or not.
array getAccessDecisionLog() Returns the log of the security decisions made by the access decision
array getInheritedRoles() Gets the inherited roles of the user.
class SecurityDataCollector extends
bool isEnabled() Checks if security is enabled.
bool supportsRoleHierarchy() Checks if the data contains information about inherited roles. Still
Page 1 of 2