File "InvokableRule.php"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/Illuminate/Contracts/InvokableRule.php
File size: 443 bytes
MIME-type: text/x-php
Charset: utf-8
<?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);
}