UrlPackage::getUrl()

string getUrl(string $path) Returns an absolute or root-relative public path. Parameters string $path A path Return Value string The public path

LocaleDataProvider::getLocales()

getLocales()

SessionHelper::hasFlash()

hasFlash($name) Parameters $name

SecurityDataCollector::getRoles()

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

ChainEncoder::supportsEncoding()

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

TokenInterface::eraseCredentials()

eraseCredentials() Removes sensitive information from the token.

AbstractToken::setAttribute()

setAttribute(string $name, mixed $value) Sets an attribute. Parameters string $name The attribute name mixed $value The attribute value

FormConfigInterface::getMethod()

string getMethod() Returns the HTTP method used by the form. Return Value string The HTTP method of the form

PathPackage::getBasePath()

string getBasePath() Returns the base path. Return Value string The base path

ExecutionContext deprecated

class ExecutionContext implements ExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContext} instead. Default implementation of {@link ExecutionContextInterface}. This class is immutable by design. Methods __construct(GlobalExecutionContextInterface $globalContext, TranslatorInterface $translator, null|string $translationDomain = null, MetadataInterface $metadata = null, mixed $value = null, string $group = null, string $propert