PHP Interface PHPStan\Reflection\PropertiesClassReflectionExtension

Show file Open project: phpstan/phpstan

Public Methods

Method Description
getProperty ( ClassReflection $classReflection, string $propertyName ) : PHPStan\Reflection\PropertyReflection
hasProperty ( ClassReflection $classReflection, string $propertyName ) : boolean

Method Details

getProperty() public method

public getProperty ( ClassReflection $classReflection, string $propertyName ) : PHPStan\Reflection\PropertyReflection
$classReflection ClassReflection
$propertyName string
return PHPStan\Reflection\PropertyReflection

hasProperty() public method

public hasProperty ( ClassReflection $classReflection, string $propertyName ) : boolean
$classReflection ClassReflection
$propertyName string
return boolean