TokenGeneratorInterface

interface TokenGeneratorInterface Generates CSRF tokens. Methods string generateToken() Generates a CSRF token. Details string generateToken() Generates a CSRF token. Return Value string The generated CSRF token

FormEvent

class FormEvent extends Event Methods Boolean isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event setDispatcher(EventDispatcherInterface $dispatcher) Stores the EventDispatcher that dispatches this Event from Event EventDispatcherInterface getDispatcher() Returns the EventDispatcher that dispatches this Event from Event string getName() Gets

DefinitionDecorator::getArgument()

mixed getArgument(int $index) Gets an argument to pass to the service constructor/factory method. If replaceArgument() has been used to replace an argument, this method will return the replacement value. Parameters int $index Return Value mixed The argument value Exceptions OutOfBoundsException When the argument does not exist

NameConverterInterface::normalize()

string normalize(string $propertyName) Converts a property name to its normalized value. Parameters string $propertyName Return Value string

ConstraintViolationBuilderInterface::setTranslationDomain()

ConstraintViolationBuilderInterface setTranslationDomain(string $translationDomain) Sets the translation domain which should be used for translating the violation message. Parameters string $translationDomain The translation domain Return Value ConstraintViolationBuilderInterface This builder See also \Symfony\Component\Translation\TranslatorInterface

LoggingTranslator::getCatalogue()

MessageCatalogueInterface getCatalogue(string|null $locale = null) Gets the catalogue by locale. Parameters string|null $locale The locale or null to use the default Return Value MessageCatalogueInterface Exceptions InvalidArgumentException If the locale contains invalid characters

FormFactoryInterface::createBuilderForProperty()

FormBuilderInterface createBuilderForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form builder for a property of a class. If any of the 'required' and type options can be guessed, and are not provided in the options argument, the guessed value is used. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the

ArrayInput::hasParameterOption()

bool hasParameterOption(string|array $values, bool $onlyParams = false) Returns true if the raw parameters (not parsed) contain a value. This method is to be used to introspect the input parameters before they have been validated. It must be used carefully. Parameters string|array $values The values to look for in the raw parameters (can be an array) bool $onlyParams Only check real parameters, skip those following an end of options (--) signal Return Value bool true if the val

IntlDateFormatter::getErrorMessage()

string getErrorMessage() Returns formatter's last error message. Always returns the UZEROERROR_MESSAGE class constant value. Return Value string The error message from last formatter call See also http://www.php.net/manual/en/intldateformatter.geterrormessage.php

NullContext::getBasePath()

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