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