Preview: InvokableRule.php
Size: 453 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Contracts/Validation/InvokableRule.php
<?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, ?string=): \Illuminate\Translation\PotentiallyTranslatedString $fail
* @return void
*/
public function __invoke(string $attribute, mixed $value, Closure $fail);
}
Directory Contents
Dirs: 0 × Files: 10