PHP Class PHPStan\Reflection\PhpParser\PhpParserNameClassReflectionExtension

Inheritance: implements PHPStan\Reflection\PropertiesClassReflectionExtension
Mostra 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 PHPStan\Reflection\ClassReflection
$propertyName string
return PHPStan\Reflection\PropertyReflection

hasProperty() public method

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