PHPStan\Analyser\NodeScopeResolver::__construct PHP Method

__construct() public method

public __construct ( Broker $broker, PHPStan\Parser\Parser $parser, Standard $printer, FileTypeMapper $fileTypeMapper, TypeSpecifier $typeSpecifier, boolean $polluteScopeWithLoopInitialAssignments, boolean $polluteCatchScopeWithTryAssignments, boolean $defineVariablesWithoutDefaultBranch, array $earlyTerminatingMethodCalls )
$broker PHPStan\Broker\Broker
$parser PHPStan\Parser\Parser
$printer PhpParser\PrettyPrinter\Standard
$fileTypeMapper PHPStan\Type\FileTypeMapper
$typeSpecifier TypeSpecifier
$polluteScopeWithLoopInitialAssignments boolean
$polluteCatchScopeWithTryAssignments boolean
$defineVariablesWithoutDefaultBranch boolean
$earlyTerminatingMethodCalls array
    public function __construct(Broker $broker, Parser $parser, \PhpParser\PrettyPrinter\Standard $printer, FileTypeMapper $fileTypeMapper, TypeSpecifier $typeSpecifier, bool $polluteScopeWithLoopInitialAssignments, bool $polluteCatchScopeWithTryAssignments, bool $defineVariablesWithoutDefaultBranch, array $earlyTerminatingMethodCalls)
    {
        $this->broker = $broker;
        $this->parser = $parser;
        $this->printer = $printer;
        $this->fileTypeMapper = $fileTypeMapper;
        $this->typeSpecifier = $typeSpecifier;
        $this->polluteScopeWithLoopInitialAssignments = $polluteScopeWithLoopInitialAssignments;
        $this->polluteCatchScopeWithTryAssignments = $polluteCatchScopeWithTryAssignments;
        $this->defineVariablesWithoutDefaultBranch = $defineVariablesWithoutDefaultBranch;
        $this->earlyTerminatingMethodCalls = $earlyTerminatingMethodCalls;
    }

Same methods

NodeScopeResolver::__construct ( Broker $broker, Standard $printer, FileTypeMapper $fileTypeMapper, TypeSpecifier $typeSpecifier, boolean $polluteScopeWithLoopInitialAssignments, boolean $polluteCatchScopeWithTryAssignments, boolean $defineVariablesWithoutDefaultBranch, array $earlyTerminatingMethodCalls )