Файловый менеджер - Редактировать - /home/clickysoft/public_html/angelo.clickysoft.net/app/Rules/CheckUserTaxForm.php
Назад
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; class CheckUserTaxForm implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() { // } /** * Determine if the validation rule passes. * * @param string $attribute * @param mixed $value * @return bool */ public function passes($attribute, $value) { return auth()->user()->is_tax_form == 1; } /** * Get the validation error message. * * @return string */ public function message() { return 'Please upload your tax form before investing.'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка