20220717
This commit is contained in:
16
vendor/illuminate/contracts/Validation/InvokableRule.php
vendored
Normal file
16
vendor/illuminate/contracts/Validation/InvokableRule.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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);
|
||||
}
|
Reference in New Issue
Block a user