FormInterface::setParent()

FormInterface setParent(FormInterface $parent = null) Sets the parent form. Parameters FormInterface $parent The parent form or null if it's the root Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted. LogicException When trying to set a parent for a form with an empty name.

TokenStorageInterface::getToken()

TokenInterface|null getToken() Returns the current security token. Return Value TokenInterface|null A TokenInterface instance or null if no authentication information is available

TranslationExtension::trans()

trans($message, array $arguments = array(), $domain = null, $locale = null) Parameters $message array $arguments $domain $locale

InvalidArgumentException

class InvalidArgumentException extends InvalidArgumentException implements ExceptionInterface Thrown when an argument is invalid.

ButtonBuilder::setMapped()

FormConfigBuilderInterface setMapped(bool $mapped) Unsupported method. This method should not be invoked. Parameters bool $mapped Whether the form should be mapped Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

FormConfigBuilder::getDataClass()

string getDataClass() Returns the class of the form data or null if the data is scalar or an array. Return Value string The data class or null

PropertyPath::getElements()

array getElements() Returns the elements of the property path as array. Return Value array An array of property/index names

FormConfigBuilder::setMethod()

FormConfigBuilderInterface setMethod(string $method) Sets the HTTP method used by the form. Parameters string $method The HTTP method of the form Return Value FormConfigBuilderInterface The configuration object

ExpressionRequestMatcher::setExpression()

setExpression(ExpressionLanguage $language, $expression) Parameters ExpressionLanguage $language $expression

DirectoryLoader

class DirectoryLoader extends FileLoader DirectoryLoader is a recursive loader to go through directories. 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|n