class HigherOrderCollectionProxyExtension implements MethodsClassReflectionExtension

Methods

__construct(HigherOrderCollectionProxyHelper $higherOrderCollectionProxyHelper)

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 proxied collection method returns.

Details

at line 19
__construct(HigherOrderCollectionProxyHelper $higherOrderCollectionProxyHelper)

Create a new extension instance.

Parameters

HigherOrderCollectionProxyHelper $higherOrderCollectionProxyHelper

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 proxied collection method returns.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

MethodReflection