PHP Class PHPStan\Reflection\Php\UniversalObjectCratesClassReflectionExtension

Inheritance: implements PHPStan\Reflection\PropertiesClassReflectionExtension
Show file Open project: phpstan/phpstan

Public Methods

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

Method Details

__construct() public method

public __construct ( array $classes )
$classes array

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