class Fieldset implements CanHaveSubfields (View source)

Methods

__construct(string|null $title = null, Collection|null $fields = null, string|null $id = null, bool|null $open = true)

No description

static Fieldset
make()

No description

title(string $title)

Set the title of the fieldset.

id(string $id)

Set the id of the field.

open(bool $open = true)

Marks the fielset as open.

closed()

Marks the fielset as closed.

fields(array $fields)

Set the form fields of the fieldset.

void
registerDynamicRepeaters()

No description

Details

protected __construct(string|null $title = null, Collection|null $fields = null, string|null $id = null, bool|null $open = true)

No description

Parameters

string|null $title
Collection|null $fields
string|null $id
bool|null $open

static Fieldset make()

No description

Return Value

Fieldset

Fieldset title(string $title)

Set the title of the fieldset.

Parameters

string $title

Return Value

Fieldset

Fieldset id(string $id)

Set the id of the field.

Parameters

string $id

Return Value

Fieldset

Fieldset open(bool $open = true)

Marks the fielset as open.

Parameters

bool $open

Return Value

Fieldset

Fieldset closed()

Marks the fielset as closed.

Return Value

Fieldset

Fieldset fields(array $fields)

Set the form fields of the fieldset.

Parameters

array $fields

Return Value

Fieldset

void registerDynamicRepeaters()

No description

Return Value

void