0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-24 08:36:48 +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__));