PHPStan\Rules\Methods\CallMethodsRule::__construct PHP Method

__construct() public method

public __construct ( Broker $broker, FunctionCallParametersCheck $check, RuleLevelHelper $ruleLevelHelper, boolean $checkThisOnly )
$broker PHPStan\Broker\Broker
$check PHPStan\Rules\FunctionCallParametersCheck
$ruleLevelHelper PHPStan\Rules\RuleLevelHelper
$checkThisOnly boolean
    public function __construct(Broker $broker, FunctionCallParametersCheck $check, RuleLevelHelper $ruleLevelHelper, bool $checkThisOnly)
    {
        $this->broker = $broker;
        $this->check = $check;
        $this->ruleLevelHelper = $ruleLevelHelper;
        $this->checkThisOnly = $checkThisOnly;
    }