trait HasMaxlength (View source)

Properties

protected int|null $maxlength

Methods

maxLength(string $maxlength)

Sets the max character length.

Details

HasMaxlength maxLength(string $maxlength)

Sets the max character length.

Parameters

string $maxlength

Return Value

HasMaxlength