ButtonBuilder::getAction()

string getAction() Unsupported method. Return Value string The target URL of the form

FormatterHelper

class FormatterHelper extends Helper The Formatter class provides helpers to format messages. Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associated with this helper. from Helper static int strlen(string $string) Returns the length of a string, using mb_strwidth if it is available. from Helper static formatTime($secs) from Helper static formatMemory($memory)

ContainerBuilder::addObjectResource()

ContainerBuilder addObjectResource(object $object) Adds the object class hierarchy as resources. Parameters object $object An object instance Return Value ContainerBuilder The current instance

Definition::setAbstract()

Definition setAbstract(bool $boolean) Whether this definition is abstract, that means it merely serves as a template for other definitions. Parameters bool $boolean Return Value Definition the current instance

LocaleValidator

class LocaleValidator extends ConstraintValidator Validates whether a value is a valid locale code. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is va

ConstraintViolationBuilder::setPlural()

ConstraintViolationBuilderInterface setPlural(int $number) Sets the number which determines how the plural form of the violation message is chosen when it is translated. Parameters int $number The number for determining the plural form Return Value ConstraintViolationBuilderInterface This builder

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

ClassMetadataFactory

class ClassMetadataFactory implements ClassMetadataFactoryInterface Returns a {@link ClassMetadata}. Traits ClassResolverTrait Resolves a class name. Methods __construct(LoaderInterface $loader, Cache $cache = null) ClassMetadataInterface getMetadataFor(string|object $value) If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned. bool hasMetadataFor(mixed $value) Checks if class has metadata. Deta

AbstractRendererEngine::getResourceHierarchyLevel()

int|bool getResourceHierarchyLevel(FormView $view, array $blockNameHierarchy, int $hierarchyLevel) Returns the hierarchy level at which a resource can be found. A block hierarchy is an array which starts with the root of the hierarchy and continues with the child of that root, the child of that child etc. The following is an example for a block hierarchy: formwidget textwidget url_widget The second parameter $hierarchyLevel determines the level of the hierarchy that should be r