OutputFormatterStyleInterface::setForeground()

setForeground(string $color = null) Sets style foreground color. Parameters string $color The color name

Request::getRealMethod()

string getRealMethod() Gets the "real" request method. Return Value string The request method See also getMethod()

NodeExtension::getNodeTranslators()

callable[] getNodeTranslators() Returns node translators. These callables will receive the node as first argument and the translator as second argument. Return Value callable[]

RoutingExtension::getName()

getName() {@inheritdoc}

Translator::setFallbackLocales()

setFallbackLocales(array $locales) Sets the fallback locales. Parameters array $locales The fallback locales Exceptions InvalidArgumentException If a locale contains invalid characters

Options

interface Options implements ArrayAccess, Countable Contains resolved option values.

AuthenticationUtils::getLastUsername()

string getLastUsername() Return Value string

DebugHandlersListener::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

YamlFileLoader

class YamlFileLoader extends FileLoader YamlFileLoader loads Yaml routing files. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a

FormConfigBuilderInterface::setAction()

FormConfigBuilderInterface setAction(string $action) Sets the target URL of the form. Parameters string $action The target URL of the form Return Value FormConfigBuilderInterface The configuration object