class ModelAccessorExtension implements PropertiesClassReflectionExtension

internal  
 

Methods

__construct(ModelPropertyHelper $modelPropertyHelper)

Create a new model accessor extension instance.

bool
hasProperty(ClassReflection $classReflection, string $propertyName)

Determine whether an accessor or mutator handles the property.

PropertyReflection
getProperty(ClassReflection $classReflection, string $propertyName)

Get the accessor property.

Details

at line 19
__construct(ModelPropertyHelper $modelPropertyHelper)

Create a new model accessor extension instance.

Parameters

ModelPropertyHelper $modelPropertyHelper

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

Determine whether an accessor or mutator handles the property.

Parameters

ClassReflection $classReflection
string $propertyName

Return Value

bool

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

Get the accessor property.

Parameters

ClassReflection $classReflection
string $propertyName

Return Value

PropertyReflection