trait HasConstraints (View source)

Properties

protected Constraint[] $constraints

Methods

constraints(array $constraints)

No description

array
getConstraints()

No description

Constraint|null
getConstraint(string $name)

No description

Details

HasConstraints constraints(array $constraints)

No description

Parameters

array $constraints

Return Value

HasConstraints

array getConstraints()

No description

Return Value

array

Constraint|null getConstraint(string $name)

No description

Parameters

string $name

Return Value

Constraint|null