/home/kueuepay/www/vendor/laravel/framework/src/Illuminate/Contracts/Validation/InvokableRule.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);
}
Examples

Examples

For code examples and implementation guides, please refer to the “Examples” section on our developer portal. Go to GitHub Repository