PropertyAccessorInterface::isWritable()

bool isWritable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns whether a value can be written at a given property path. Whenever this method returns true, {@link setValue()} is guaranteed not to throw an exception when called with the same arguments. Parameters object|array $objectOrArray The object or array to check string|PropertyPathInterface $propertyPath The property path to check Return Value bool Whether the value can be set Exceptions

Application::setDefinition()

setDefinition(InputDefinition $definition) Set an input definition to be used with this application. Parameters InputDefinition $definition The input definition

FormRegistryInterface::getType()

ResolvedFormTypeInterface getType(string $name) Returns a form type by name. This methods registers the type extensions from the form extensions. Parameters string $name The name of the type Return Value ResolvedFormTypeInterface The type Exceptions InvalidArgumentException if the type can not be retrieved from any extension

ExpressionFunctionProviderInterface

interface ExpressionFunctionProviderInterface Methods ExpressionFunction[] getFunctions() Details ExpressionFunction[] getFunctions() Return Value ExpressionFunction[] An array of Function instances

FormTypeHttpFoundationExtension::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called after the extended type has built the form to further modify it. Parameters FormBuilderInterface $builder The form builder array $options The options

FatalErrorException

class FatalErrorException extends ErrorException Fatal Error Exception. Methods __construct($message, $code, $severity, $filename, $lineno, $traceOffset = null, $traceArgs = true, array $trace = null) Details __construct($message, $code, $severity, $filename, $lineno, $traceOffset = null, $traceArgs = true, array $trace = null) Parameters $message $code $severity $filename $lineno $traceOffset $traceArgs array $trace

ConfigDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

RegionBundleInterface

interface RegionBundleInterface implements ResourceBundleInterface Gives access to region-related ICU data. Methods string[] getLocales() Returns the list of locales that this bundle supports. from ResourceBundleInterface string|null getCountryName(string $country, string $displayLocale = null) Returns the name of a country. string[] getCountryNames(string $displayLocale = null) Returns the names of all known countries. Details string[] getLocales

PrototypedArrayNode::hasDefaultValue()

bool hasDefaultValue() Checks if the node has a default value. Return Value bool If the node has a default value

Button::getErrors()

FormErrorIterator getErrors(bool $deep = false, bool $flatten = true) Returns the errors of this form. Parameters bool $deep Whether to include errors of child forms as well bool $flatten Whether to flatten the list of errors in case $deep is set to true Return Value FormErrorIterator An iterator over the {@link FormError} instances that where added to this form