0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-28 23:08:09 +00:00
salesagility_SuiteCRM/Api/V8/Config/services/validators.php
Gyula Madarasz ed28b1bcdd api customs
2018-10-03 17:16:44 +01:00

12 lines
318 B
PHP

<?php
use Api\Core\Loader\CustomLoader;
include_once __DIR__ . '/../../../../vendor/symfony/validator/ValidatorBuilder.php';
return CustomLoader::mergeCustomArray([
'Validation' => function () {
return (new Symfony\Component\Validator\ValidatorBuilder())->getValidator();
},
], basename(__FILE__));