fuc-new/vendor/illuminate/contracts/Validation/InvokableRule.php
hellcat 1fe8673f62 1
2025-10-01 13:34:29 +08:00

22 lines
443 B
PHP
Executable File

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