trait CanBeLengthConstrained (View source)

Properties

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

Methods

length(int|Closure|null $length)

No description

maxLength(int|Closure|null $length)

No description

minLength(int|Closure|null $length)

No description

int|null
getLength()

No description

int|null
getMaxLength()

No description

int|null
getMinLength()

No description

array
getLengthValidationRules()

No description

Details

CanBeLengthConstrained length(int|Closure|null $length)

No description

Parameters

int|Closure|null $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained maxLength(int|Closure|null $length)

No description

Parameters

int|Closure|null $length

Return Value

CanBeLengthConstrained

CanBeLengthConstrained minLength(int|Closure|null $length)

No description

Parameters

int|Closure|null $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

array getLengthValidationRules()

No description

Return Value

array