src/Range.php
function add( $other ) {
		if ( $other instanceof self ) {
			$this->parts = array_merge( $this->parts, $other->parts );
		} else {
			$this->parts[] = $other;
		}
	}
function add( $other ) {
		if ( $other instanceof self ) {
			$this->parts = array_merge( $this->parts, $other->parts );
		} else {
			$this->parts[] = $other;
		}
	}
function add ( $ other ) { if ( $ other instanceof self ) { $ this -> parts = array_merge ( $ this -> parts , $ other -> parts ) ; } else { $ this -> parts [ ] = $ other ; } }
Add another part to this range.

@param Range|int $other The part to add, either
a range object itself or a single number.
Add another part to this range .