Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
9 / 9 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | * This file is part of App Project. |
| 4 | * |
| 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | * file that was distributed with this source code. |
| 7 | */ |
| 8 | /** |
| 9 | * Validation config. |
| 10 | * |
| 11 | * @see App::validation() |
| 12 | * @see https://docs.aplus-framework.com/guides/libraries/mvc/index.html#validation-service |
| 13 | */ |
| 14 | |
| 15 | use Framework\MVC\Validator; |
| 16 | use Framework\Validation\FilesValidator; |
| 17 | |
| 18 | return [ |
| 19 | 'default' => [ |
| 20 | 'validators' => [ |
| 21 | Validator::class, |
| 22 | FilesValidator::class, |
| 23 | ], |
| 24 | 'language_instance' => 'default', |
| 25 | ], |
| 26 | ]; |