shopex/luban

shopex luban service framework.

v0.9 2017-12-12 09:42 UTC

This package is auto-updated.

Last update: 2024-11-29 04:47:00 UTC


README

shopex luban grpc sdk for php

class MyServiceReslover{

	public function reslove($service){
		return env('SERVICE_'.$service);
	}

}

Shopex\Luban\Client::setReslover(new MyServiceReslover);

$dealer = Shopex\Luban\Client::Dealer();
$dealer->Deal($dealRequest);