mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
16 lines
366 B
PHP
16 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);
|
|
}
|