FOF30\Form\Form::__construct PHP Method

__construct() public method

Method to instantiate the form object.
public __construct ( Container $container, string $name, array $options = [] )
$container FOF30\Container\Container The component Container where this form belongs to
$name string The name of the form.
$options array An array of form options.
    public function __construct(Container $container, $name, array $options = array())
    {
        parent::__construct($name, $options);
        $this->container = $container;
    }