Phan\AST\UnionTypeVisitor::__construct PHP Method

__construct() public method

public __construct ( CodeBase $code_base, Context $context, boolean $should_catch_issue_exception = true )
$code_base Phan\CodeBase The code base within which we're operating
$context Phan\Language\Context The context of the parser at the node for which we'd like to determine a type
$should_catch_issue_exception boolean Set to true to cause loggable issues to be thrown instead of emitted as issues to the log.
    public function __construct(CodeBase $code_base, Context $context, bool $should_catch_issue_exception = true)
    {
        parent::__construct($code_base, $context);
        $this->should_catch_issue_exception = $should_catch_issue_exception;
    }