class HigherOrderWhenProxyPropertyExtension implements PropertiesClassReflectionExtension

Methods

__construct(HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper)

Create a new property extension instance.

bool
hasProperty(ClassReflection $classReflection, string $propertyName)

Determine whether the proxy's target has the property.

PropertyReflection
getProperty(ClassReflection $classReflection, string $propertyName)

Get the property, typed as what the proxy returns for it.

Details

at line 19
__construct(HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper)

Create a new property extension instance.

Parameters

HigherOrderWhenProxyHelper $higherOrderWhenProxyHelper

at line 26
bool hasProperty(ClassReflection $classReflection, string $propertyName)

Determine whether the proxy's target has the property.

Parameters

ClassReflection $classReflection
string $propertyName

Return Value

bool

at line 34
PropertyReflection getProperty(ClassReflection $classReflection, string $propertyName)

Get the property, typed as what the proxy returns for it.

Parameters

ClassReflection $classReflection
string $propertyName

Return Value

PropertyReflection