Debian Codegraph @

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

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