trait CanBeLengthConstrained (View source)

Properties

protected int|Closure|null $length
protected int|Closure|null $maxLength
protected int|Closure|null $minLength

Methods

length(int|Closure $length)

No description

maxLength(int|Closure $length)

No description

minLength(int|Closure $length)

No description

int|null
getLength()

No description

int|null
getMaxLength()

No description

int|null
getMinLength()

No description

Details

CanBeLengthConstrained length(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained maxLength(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained minLength(int|Closure $length)

No description

Parameters

int|Closure $length

Return Value

CanBeLengthConstrained

int|null getLength()

No description

Return Value

int|null

int|null getMaxLength()

No description

Return Value

int|null

int|null getMinLength()

No description

Return Value

int|null