interface ValidatorInterface (View source)

Methods

bool
matches(Route $route, Request $request)

Validate a given rule against a route and request.

Details

bool matches(Route $route, Request $request)

Validate a given rule against a route and request.

Parameters

Route $route
Request $request

Return Value

bool