RequestDataCollector::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

ParameterBag::has()

bool has(string $key) Returns true if the parameter is defined. Parameters string $key The key Return Value bool true if the parameter exists, false otherwise

RequestDataCollector::getRouteParams()

array getRouteParams() Gets the route parameters. The routeparams request attributes is automatically set by the RouterListener. Return Value array The parameters

ConfigDataCollector::getPhpVersion()

string getPhpVersion() Gets the PHP version. Return Value string The PHP version

RouterMatchCommand

class RouterMatchCommand extends ContainerAwareCommand A console command to test route matching. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command App

TokenInterface::eraseCredentials()

eraseCredentials() Removes sensitive information from the token.

ChainEncoder::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

LocaleDataProvider::getLocales()

getLocales()

SecurityDataCollector::getRoles()

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

SessionHelper::hasFlash()

hasFlash($name) Parameters $name