dev-master
9999999-devClass proxy
Apache-2.0 BSD-3-Clause
The Development Requires
by Lukas Pająk
class proxy
1.0
1.0.0.0Class proxy
Apache-2.0 BSD-3-Clause
The Development Requires
by Lukas Pająk
class proxy
Class proxy
Class proxy for php based on java.lang.reflect.Proxy. This library is under Apache License 2.0., (*1)
PHP >= 5.5 HHVM >= 3.4.0, (*3)
Usage:, (*4)
use \Reflection\Proxy; class MyInvocationHandler implements \Reflection\InvocationHandler { /** * @param object $proxy * @param string $method * @param mixed[] $args * @return mixed */ function invoke($proxy, $method, $args) { echo $method; return 'my return value'; } } $proxy = Proxy::newProxyInstance(\stdClass::class, new MyInvocationHandler()); echo $proxy->CustomMethod();
Class proxy
Apache-2.0 BSD-3-Clause
class proxy
Class proxy
Apache-2.0 BSD-3-Clause
class proxy