Input

Valid Route

Rule `valid_route`: Validates route notation.

Usage

Use for route-like identifiers.

$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
    ->field('field', 'Field')
        ->route()
        ->end();

$result = $validator->validate($payload, $schema);

Stable rule name

valid_route for translations, registry lookup and per-rule messages.

Group

Format