Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celema\Sire\Contract; |
| 6 | |
| 7 | /** |
| 8 | * Implemented next to `Rule` by a rule that names its DSL arguments for |
| 9 | * message placeholders and issue params, e.g. `['min']` turns `min:18` into |
| 10 | * `{min}`. Arguments beyond the names keep their positional `{argN}`. |
| 11 | * |
| 12 | * @api |
| 13 | */ |
| 14 | interface NamedArguments |
| 15 | { |
| 16 | /** @var list<non-empty-string> */ |
| 17 | public array $arguments { get; } |
| 18 | } |