Diff::compareLine PHP Method

compareLine() protected static method

protected static compareLine ( $line1, $line2, $ignoreIndent = true )
    protected static function compareLine($line1, $line2, $ignoreIndent = true)
    {
        if ($ignoreIndent) {
            $line1 = static::ignoreIndent($line1);
            $line2 = static::ignoreIndent($line2);
        }
        return $line1 == $line2;
    }