FormInterface::addError()

FormInterface addError(FormError $error) Adds an error to this form. Parameters FormError $error Return Value FormInterface The form instance

Kernel::handle()

Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handles a Request to convert it to a Response. When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance. Parameters Request $request A Request instance int $type The type of the request (one of HttpKernelInterface::MASTERREQUEST or HttpKernelInterface::SUBREQUEST) bool $catch Whether to catch exceptions or not Re

ProxyAdapter::getItems()

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

Component\Translation\Exception

Classes InvalidResourceException Thrown when a resource cannot be loaded. NotFoundResourceException Thrown when a resource does not exist. Interfaces ExceptionInterface Exception interface for all exceptions thrown by the component.

ArrayNode

class ArrayNode extends BaseNode implements PrototypeNodeInterface Represents an Array node in the config tree. Methods __construct(string $name, NodeInterface $parent = null) Constructor. from BaseNode setAttribute($key, $value) from BaseNode getAttribute($key, $default = null) from BaseNode hasAttribute($key) from BaseNode getAttributes() from BaseNode setAttributes(array $attributes) from BaseNode removeAttribute($key) from BaseNode setInfo(string $in

ContainerBuilder::getCompiler()

Compiler getCompiler() Returns the compiler. Return Value Compiler The compiler

FormTypeInterface::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

AbstractAdapter::save()

save(CacheItemInterface $item) {@inheritdoc} Parameters CacheItemInterface $item

ConfigurationExtensionInterface

interface ConfigurationExtensionInterface ConfigurationExtensionInterface is the interface implemented by container extension classes. Methods ConfigurationInterface|null getConfiguration(array $config, ContainerBuilder $container) Returns extension configuration. Details ConfigurationInterface|null getConfiguration(array $config, ContainerBuilder $container) Returns extension configuration. Parameters array $config An array of configuration

Form::handleRequest()

FormInterface handleRequest(mixed $request = null) Inspects the given request and calls {@link submit()} if the form was submitted. Internally, the request is forwarded to the configured {@link RequestHandlerInterface} instance, which determines whether to submit the form or not. Parameters mixed $request The request to handle Return Value FormInterface The form instance