Файловый менеджер - Редактировать - /home/clickysoft/public_html/angelo.clickysoft.net/app/Rules/CheckFilesCount.php
Назад
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; class CheckFilesCount 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 count($value) < 0; } /** * Get the validation error message. * * @return string */ public function message() { return 'Please upload atleast one document.'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка