class BankIDRoutedPathConstraint extends Constraint

Validation constraint for a routed internal path.

Properties

string $notFoundMessage

Violation message when path is not routed or does not exist.

string $leadingSlashMessage

Violation message when path does not begin with a slash.

Methods

__construct(mixed $options = NULL, string|null $notFoundMessage = NULL, string|null $leadingSlashMessage = NULL, array|null $groups = NULL, mixed $payload = NULL)

Constructs a BankIDRoutedPathConstraint object.

Details

at line 49
__construct(mixed $options = NULL, string|null $notFoundMessage = NULL, string|null $leadingSlashMessage = NULL, array|null $groups = NULL, mixed $payload = NULL)

Constructs a BankIDRoutedPathConstraint object.

Parameters

mixed $options

The constraint options.

string|null $notFoundMessage

Custom not found message.

string|null $leadingSlashMessage

Custom leading slash message.

array|null $groups

The validation groups.

mixed $payload

The payload.