Closed showx closed 4 years ago
`<?php class API { /**
@return */ public function api($parameter = '', $option = "foo") { return $parameter; }
protected function client_can_not_see() { } }
$service = new Yar_Server(new API()); $service->handle(); ?>`
例子的$parameter 给个默认值,不然php7中显示异常。
你可以弄个PR?
`<?php class API { /**
@return */ public function api($parameter = '', $option = "foo") { return $parameter; }
protected function client_can_not_see() { } }
$service = new Yar_Server(new API()); $service->handle(); ?>`
例子的$parameter 给个默认值,不然php7中显示异常。