laruence / yar

Light, concurrent RPC framework for PHP & C
Other
1.43k stars 319 forks source link

服务端示例更新 #142

Closed showx closed 4 years ago

showx commented 5 years ago

`<?php class API { /**

$service = new Yar_Server(new API()); $service->handle(); ?>`

例子的$parameter 给个默认值,不然php7中显示异常。

laruence commented 4 years ago

你可以弄个PR?