trait HasReadOnly (View source)

Properties

protected bool|null $readOnly

Methods

readOnly(bool $readOnly = true)

Marks the field as read only.

Details

HasReadOnly readOnly(bool $readOnly = true)

Marks the field as read only.

Parameters

bool $readOnly

Return Value

HasReadOnly