PropertyPropertyExtension
Less than 1 minute
PropertyPropertyExtension
PHPStan extension for handling dynamic properties in WebDAV Property classes.
class PropertyPropertyExtension implements \PHPStan\Reflection\PropertiesClassReflectionExtensionImplements: PHPStan\Reflection\PropertiesClassReflectionExtension
Implements logic to inform PHPStan about properties available on WebDAV Property classes and their subclasses.
Methods
hasProperty
Determines if the given class or its subclass has the specified property.
public hasProperty(ClassReflection $classReflection, string $propertyName): boolReturns: bool
Used by PHPStan to check for dynamic properties on WebDAV Property classes.
Parameters
| Parameter | Type | Description |
|---|---|---|
$classReflection | PHPStan\Reflection\ClassReflection | the class reflection to check |
$propertyName | string | the name of the property to check for |
getProperty
Returns a PropertyReflection instance for the specified property.
public getProperty(ClassReflection $classReflection, string $propertyName): PropertyReflectionReturns: PHPStan\Reflection\PropertyReflection
Used by PHPStan to provide reflection information for dynamic properties on WebDAV Property classes.
Parameters
| Parameter | Type | Description |
|---|---|---|
$classReflection | PHPStan\Reflection\ClassReflection | the class reflection for which to get the property |
$propertyName | string | the name of the property to reflect |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:18 +0000