Component\Form\Extension

Namespaces Symfony\Component\Form\Extension\CoreSymfony\Component\Form\Extension\CsrfSymfony\Component\Form\Extension\DependencyInjectionSymfony\Component\Form\Extension\HttpFoundationSymfony\Component\Form\Extension\TemplatingSymfony\Component\Form\Extension\Validator

NullValidator deprecated

class NullValidator extends IsNullValidator deprecated since version 2.7, to be removed in 3.0. Use IsNullValidator instead. 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) Check

BirthdayType

class BirthdayType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of

Component\Console\Descriptor

Classes ApplicationDescription Descriptor JsonDescriptor JSON descriptor. MarkdownDescriptor Markdown descriptor. TextDescriptor Text descriptor. XmlDescriptor XML descriptor. Interfaces DescriptorInterface Descriptor interface.

ButtonBuilder::getRequestHandler()

RequestHandlerInterface getRequestHandler() Unsupported method. Return Value RequestHandlerInterface The request handler

TableStyle

class TableStyle Defines the styles for a Table. Methods TableStyle setPaddingChar(string $paddingChar) Sets padding character, used for cell padding. string getPaddingChar() Gets padding character, used for cell padding. TableStyle setHorizontalBorderChar(string $horizontalBorderChar) Sets horizontal border character. string getHorizontalBorderChar() Gets horizontal border character. TableStyle setVerticalBorderChar(string $verticalBorderChar) Sets vertical border ch

AttributeBag

class AttributeBag implements AttributeBagInterface, IteratorAggregate, Countable This class relates to session attribute storage. Methods __construct(string $storageKey = '_sf2_attributes') Constructor. string getName() Gets this bag's name. setName($name) initialize(array $attributes) Initializes the Bag. string getStorageKey() Gets the storage key for this bag. bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $defau

InputFormField

class InputFormField extends FormField InputFormField represents an input form field (an HTML input tag). For inputs with type of file, checkbox, or radio, there are other more specialized classes (cf. FileFormField and ChoiceFormField). Methods __construct(DOMElement $node) Constructor. from FormField string getName() Returns the name of the field. from FormField string|array getValue() Gets the value of the field. from FormField setValue(string $value) Sets the value of the

TestSessionListener

class TestSessionListener extends TestSessionListener TestSessionListener. Methods onKernelRequest(GetResponseEvent $event) from TestSessionListener onKernelResponse(FilterResponseEvent $event) Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment from TestSessionListener static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. from TestSessionListener __construct(C

Process::run()

int run(callable|null $callback = null) Runs the process. The callback receives the type of output (out or err) and some bytes from the output in real-time. It allows to have feedback from the independent process during execution. The STDOUT and STDERR are also available after the process is finished via the getOutput() and getErrorOutput() methods. Parameters callable|null $callback A PHP callback to run whenever there is some output available on STDOUT or STDERR Return Value