Yar_Server::__construct
Yar_Server::__construct
(PECL yar >= 1.0.0)
Yar_Server::__construct — Register a server
Description
final public Yar_Server::__construct ( Object $obj )
Set up a Yar HTTP RPC Server, All the public methods of $obj will be register as a RPC service.
Parameters
-
obj
-
An Object, all public methods of its will be registered as RPC services.