mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-06 06:50:04 +00:00
14 lines
484 B
PHP
14 lines
484 B
PHP
<?php
|
|
|
|
use Api\V8\Factory;
|
|
use Psr\Container\ContainerInterface as Container;
|
|
use Api\Core\Loader\CustomLoader;
|
|
|
|
return CustomLoader::mergeCustomArray([
|
|
Factory\ParamsMiddlewareFactory::class => function (Container $container) {
|
|
return new Factory\ParamsMiddlewareFactory($container);
|
|
},
|
|
Factory\ValidatorFactory::class => function (Container $container) {
|
|
return new Factory\ValidatorFactory($container->get('Validation'));
|
|
},
|
|
], basename(__FILE__));
|