20 lines
		
	
	
		
			625 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			625 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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
 | |
|  */
 | |
| use Hyperf\JsonRpc\JsonRpcPoolTransporter;
 | |
| use Hyperf\JsonRpc\JsonRpcTransporter;
 | |
| 
 | |
| return [
 | |
|     JsonRpcTransporter::class => JsonRpcPoolTransporter::class,
 | |
|     App\JsonRpc\UserExternalServiceInterface::class => App\JsonRpc\UserExternalServiceConsumer::class,
 | |
|     App\JsonRpc\PunchCardSystemExternalServiceInterface::class => App\JsonRpc\PunchCardSystemExternalServiceConsumer::class,
 | |
| ];
 |