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
Learn more: https://phpstan.org/developing-extensions/class-reflection-extensions
Methods | ||
---|---|---|
public
|
hasProperty(ClassReflection $classReflection, string $propertyName): bool
|
# |
public
|
getProperty(ClassReflection $classReflection, string $propertyName): PropertyReflection
|
# |