SimpleAuthenticatorInterface::authenticateToken()

authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey) Parameters TokenInterface $token UserProviderInterface $userProvider $providerKey

GlobalExecutionContextInterface deprecated::getVisitor()

ValidationVisitorInterface getVisitor() Returns the visitor instance used to validate the object graph nodes. Return Value ValidationVisitorInterface The validation visitor.

Router::generate()

string generate(string $name, mixed $parameters = array(), int $referenceType = self::ABSOLUTE_PATH) Generates a URL or path for a specific route based on the given parameters. Parameters that reference placeholders in the route pattern will substitute them in the path or host. Extra params are added as query string to the URL. When the passed reference type cannot be generated for the route because it requires a different host or scheme than the current one, the method will retu

Form::getNormData()

mixed getNormData() Returns the normalized data of the field. Return Value mixed When the field is not submitted, the default data is returned When the field is submitted, the normalized submitted data is returned if the field is valid, null otherwise.

TableHelper deprecated::setHorizontalBorderChar()

TableHelper setHorizontalBorderChar(string $horizontalBorderChar) Sets horizontal border character. Parameters string $horizontalBorderChar Return Value TableHelper

CountryType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

ParameterBag::getInt()

int getInt(string $key, int $default) Returns the parameter value converted to integer. Parameters string $key The parameter key int $default The default value if the parameter key does not exist Return Value int The filtered value

ChoiceToValueTransformer::transform()

mixed transform($choice) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept this va

FormConfigBuilder::setDataLocked()

FormConfigBuilderInterface setDataLocked(bool $locked) Locks the form's data to the data passed in the configuration. A form with locked data is restricted to the data passed in this configuration. The data can only be modified then by submitting the form. Parameters bool $locked Whether to lock the default data Return Value FormConfigBuilderInterface The configuration object

AnnotationFileLoader

class AnnotationFileLoader extends FileLoader AnnotationFileLoader loads routing information from annotations set on a PHP class and its methods. 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 LoaderInter