This is the interface custom properties class reflection extensions implement. To register it in the configuration file use the phpstan.broker.propertiesClassReflectionExtension service tag: ```
services:
-
class: App\PHPStan\MyPropertiesClassReflectionExtension
tags:
- phpstan.broker.propertiesClassReflectionExtension
| Methods | ||
|---|---|---|
public
|
hasProperty(ClassReflection $classReflection, string $propertyName): bool
|
# |
public
|
getProperty(ClassReflection $classReflection, string $propertyName): PropertyReflection
|
# |