class HigherOrderWhenProxyExtension implements MethodsClassReflectionExtension

Methods

__construct(HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper)

Create a new extension instance.

bool
hasMethod(ClassReflection $classReflection, string $methodName)

Determine whether the proxy's target has the method.

MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)

Get the method, returning what the proxy returns for it.

Details

at line 19
__construct(HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper)

Create a new extension instance.

Parameters

HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper

at line 26
bool hasMethod(ClassReflection $classReflection, string $methodName)

Determine whether the proxy's target has the method.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

bool

at line 34
MethodReflection getMethod(ClassReflection $classReflection, string $methodName)

Get the method, returning what the proxy returns for it.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

MethodReflection