\Charcoal\Ui\FormFormBuilder

Form Builder

Summary

Methods
Properties
Constants
__construct()
build()
No public properties found
DEFAULT_TYPE
No protected methods found
$factory
$container
N/A
No private methods found
No private properties found
N/A

Constants

DEFAULT_TYPE

DEFAULT_TYPE

The default, concrete, form model.

Properties

$factory

$factory : \Charcoal\Factory\FactoryInterface

Store the form factory instance.

Type

\Charcoal\Factory\FactoryInterface

$container

$container : \Pimple\Container

Store the dependency-injection container to fulfill the required services.

Type

\Pimple\Container

Methods

__construct()

__construct(\Charcoal\Factory\FactoryInterface  $factory) 

Return a new form builder.

Parameters

\Charcoal\Factory\FactoryInterface $factory

An form factory.

build()

build(array|\ArrayAccess  $options) : \Charcoal\Ui\Form\DashboardInterface

Build and return a new form.

Parameters

array|\ArrayAccess $options

The form build options.

Returns

\Charcoal\Ui\Form\DashboardInterface