Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Validation/InvokableRule.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Validation;
4
5 use Closure;
6
7 /**
8 * @deprecated see ValidationRule
9 */
10 interface InvokableRule
11 {
12 /**
13 * Run the validation rule.
14 *
15 * @param string $attribute
16 * @param mixed $value
17 * @param \Closure(string, ?string=): \Illuminate\Translation\PotentiallyTranslatedString $fail
18 * @return void
19 */
20 public function __invoke(string $attribute, mixed $value, Closure $fail);
21 }