zlibproxy/vendor/illuminate/contracts/Validation/InvokableRule.php
2023-01-02 19:56:44 +08:00

17 lines
366 B
PHP

<?php
namespace Illuminate\Contracts\Validation;
interface InvokableRule
{
/**
* Run the validation rule.
*
* @param string $attribute
* @param mixed $value
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
* @return void
*/
public function __invoke($attribute, $value, $fail);
}