This is the extension interface to implement if you want to describe
always-read or always-written properties. To register it in the configuration file use the phpstan.properties.readWriteExtension
service tag: ```
services:
-
class: App\PHPStan\MyExtension
tags:
- phpstan.properties.readWriteExtension
Methods | ||
---|---|---|
public
|
isAlwaysRead(ExtendedPropertyReflection $property, string $propertyName): bool
|
# |
public
|
isAlwaysWritten(ExtendedPropertyReflection $property, string $propertyName): bool
|
# |
public
|
isInitialized(ExtendedPropertyReflection $property, string $propertyName): bool
|
# |