hyperf-gateway/config/autoload/dependencies.php

20 lines
625 B
PHP
Raw Normal View History

2022-11-04 15:37:04 +08:00
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
2022-11-07 17:02:38 +08:00
use Hyperf\JsonRpc\JsonRpcPoolTransporter;
use Hyperf\JsonRpc\JsonRpcTransporter;
2022-11-04 15:37:04 +08:00
return [
2022-11-07 17:02:38 +08:00
JsonRpcTransporter::class => JsonRpcPoolTransporter::class,
App\JsonRpc\UserExternalServiceInterface::class => App\JsonRpc\UserExternalServiceConsumer::class,
App\JsonRpc\PunchCardSystemExternalServiceInterface::class => App\JsonRpc\PunchCardSystemExternalServiceConsumer::class,
2022-11-04 15:37:04 +08:00
];