class UserFormFactory implements UserFormFactoryInterface

UserFormFactory class

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private FormFactoryInterface $formFactory Stores FormFactoryInterface
private Request $request Stores curent Request

Methods

__construct(ConfigServiceInterface $configService, FormFactoryInterface $formFactory, RequestStack $requestStack)

No description

Form
create(string $name, $user)

Returns the defined form

Details

at line 51
__construct(ConfigServiceInterface $configService, FormFactoryInterface $formFactory, RequestStack $requestStack)

Parameters

ConfigServiceInterface $configService
FormFactoryInterface $formFactory
RequestStack $requestStack

at line 65
Form create(string $name, $user)

Returns the defined form

Parameters

string $name
$user

Return Value

Form