Legend of the Green Dragon

SymfonyForm

Tags
deprecated

since 4.4.0; to be removed in 5.0.0. Use factory to create Symfony Forms.

Table of Contents

$instance  : FormFactoryInterface
Instance of Form.
__callStatic()  : mixed
Add support for magic static method calls.
instance()  : mixed
Set instance of Form.

Properties

$instance

Instance of Form.

protected static FormFactoryInterface $instance

Methods

__callStatic()

Add support for magic static method calls.

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>
Return values
mixed

the returned value from the resolved method

instance()

Set instance of Form.

public static instance(FormFactoryInterface $instance) : mixed
Parameters
$instance : FormFactoryInterface
Return values
mixed

Search results