Phan\Analysis\ConditionVisitor::__construct PHP Method

__construct() public method

public __construct ( CodeBase $code_base, Context $context )
$code_base Phan\CodeBase A code base needs to be passed in because we require it to be initialized before any classes or files are loaded.
$context Phan\Language\Context The context of the parser at the node for which we'd like to determine a type
    public function __construct(CodeBase $code_base, Context $context)
    {
        $this->code_base = $code_base;
        $this->context = $context;
    }