PHP Class PHPStan\Rules\Classes\RequireParentConstructCallRule

Inheritance: implements PHPStan\Rules\Rule
Show file Open project: phpstan/phpstan

Public Methods

Method Description
__construct ( Broker $broker )
getNodeType ( ) : string
processNode ( PhpParser\Node $node, Scope $scope ) : array

Private Methods

Method Description
callsParentConstruct ( PhpParser\Node $parserNode ) : boolean
getParentConstructorClass ( ClassReflection $classReflection ) : string | boolean

Method Details

__construct() public method

public __construct ( Broker $broker )
$broker PHPStan\Broker\Broker

getNodeType() public method

public getNodeType ( ) : string
return string

processNode() public method

public processNode ( PhpParser\Node $node, Scope $scope ) : array
$node PhpParser\Node
$scope PHPStan\Analyser\Scope
return array