OptionsResolver::count()

int count() Returns the number of set options. This may be only a subset of the defined options. Return Value int Number of options Exceptions AccessException If accessing this method outside of {@link resolve()} See also \Countable::count()

FormConfigBuilder::getRequestHandler()

RequestHandlerInterface getRequestHandler() Returns the request handler used by the form. Return Value RequestHandlerInterface The request handler

NullLogger::crit()

crit($message, array $context = array()) Parameters $message array $context

FormLoginLdapFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

DialogHelper deprecated::askAndValidate()

mixed askAndValidate(OutputInterface $output, string|array $question, callable $validator, int|false $attempts = false, string $default = null, array $autocomplete = null) Asks for a value and validates the response. The validator receives the data to validate. It must return the validated data when the data is valid and throw an exception otherwise. Parameters OutputInterface $output An Output instance string|array $question The question to ask callable $validator A PHP callba

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

UrlMatcher::match()

array match(string $pathinfo) Tries to match a URL path with a set of routes. If the matcher can not find information, it must throw one of the exceptions documented below. Parameters string $pathinfo The path info to be parsed (raw format, i.e. not urldecoded) Return Value array An array of parameters Exceptions ResourceNotFoundException If the resource could not be found MethodNotAllowedException If the resource was found but the request method is not allowed

TransformationRuleInterface

interface TransformationRuleInterface Contains instruction for compiling a resource bundle. Methods string getBundleName() Returns the name of the compiled resource bundle. string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. mixed beforeCreateStu

WriteCheckSessionHandler::gc()

gc($maxlifetime) {@inheritdoc} Parameters $maxlifetime

ResolvedTypeDataCollectorProxy::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. Return Value string The prefix of the template block name