PreloadedExtension::getTypeExtensions()

FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. Parameters string $name The name of the type Return Value FormTypeExtensionInterface[] An array of extensions as FormTypeExtensionInterface instances

DisabledException

class DisabledException extends AccountStatusException DisabledException is thrown when the user account is disabled. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AccountStatusException unserialize($str) from AccountStatusException string getMessageKey() Message key to be used by the translation component. array getMessageData() Message data

DefinitionDecorator::replaceArgument()

Definition replaceArgument(int $index, mixed $value) You should always use this method when overwriting existing arguments of the parent definition. If you directly call setArguments() keep in mind that you must follow certain conventions when you want to overwrite the arguments of the parent definition, otherwise your arguments will only be appended. Parameters int $index mixed $value Return Value Definition The current instance Exceptions InvalidArgumentException when $ind

TokenProviderInterface::updateToken()

updateToken(string $series, string $tokenValue, DateTime $lastUsed) Updates the token according to this data. Parameters string $series string $tokenValue DateTime $lastUsed Exceptions TokenNotFoundException if the token is not found

FormConfigBuilderInterface::addEventSubscriber()

FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber) Adds an event subscriber for events on this form. Parameters EventSubscriberInterface $subscriber The subscriber to attach Return Value FormConfigBuilderInterface The configuration object

ChainAdapter::getItems()

getItems(array $keys = array()) {@inheritdoc} Parameters array $keys

DOMCaster::castLocator()

static castLocator(DOMLocator $dom, array $a, Stub $stub, $isNested) Parameters DOMLocator $dom array $a Stub $stub $isNested

ValidatorTypeGuesser::guessPattern()

ValueGuess|null guessPattern(string $class, string $property) Returns a guess about the field's pattern. When you have a min value, you guess a min length of this min (LOW_CONFIDENCE) , lines below If this value is a float type, this is wrong so you guess null with MEDIUM_CONFIDENCE to override the previous guess. Example: You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5) Parameters string $class The fully qualified class name string $

UnusedTagsPass

class UnusedTagsPass implements CompilerPassInterface Find all service tags which are defined, but not used and yield a warning log message. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AssetsHelper::getUrl()

string getUrl(string $path, string $packageName = null) Returns the public url/path of an asset. If the package used to generate the path is an instance of UrlPackage, you will always get a URL and not a path. Parameters string $path A public path string $packageName The name of the asset package to use Return Value string The public path of the asset