Symfony\Component\Form\Form::__construct
Creates a new form based on the given configuration.
Signature
public function __construct(FormConfigInterface
$config )
Parameters
$config
— Symfony\Component\Form\FormConfigInterface- The form configuration.
Errors/Exceptions
-
LogicException
- if a data mapper is not provided for a compound form