SecurityDataCollector::getVoters()

string[] getVoters() Returns the FQCN of the security voters enabled in the application. Return Value string[]

SecurityDataCollector::getUser()

string getUser() Gets the user. Return Value string The user

SecurityDataCollector::getTokenClass()

string getTokenClass() Get the class name of the security token. Return Value string The token

SecurityDataCollector::getRoles()

array getRoles() Gets the roles of the user. Return Value array The roles

SecurityDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

SecurityDataCollector::getLogoutUrl()

string getLogoutUrl() Get the provider key (i.e. the name of the active firewall). Return Value string The provider key

SecurityDataCollector::getInheritedRoles()

array getInheritedRoles() Gets the inherited roles of the user. Return Value array The inherited roles

SecurityDataCollector::getAccessDecisionLog()

array getAccessDecisionLog() Returns the log of the security decisions made by the access decision manager. Return Value array

SecurityDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

SecurityDataCollector

class SecurityDataCollector extends DataCollector SecurityDataCollector. Methods serialize() from DataCollector unserialize($data) from DataCollector __construct(TokenStorageInterface $tokenStorage = null, RoleHierarchyInterface $roleHierarchy = null, LogoutUrlGenerator $logoutUrlGenerator = null, AccessDecisionManagerInterface $accessDecisionManager = null) Constructor. collect(Request $request, Response $response, Exception $exception = null) Collects data for the given