public function makeRelativeTo(Path $base) {
		$pathname = clone $this->pathname;
		return new Path($pathname->replace($base->removeTrailingSeparator()->getPathname(), ''));
	}
public function makeRelativeTo(Path $base) {
		$pathname = clone $this->pathname;
		return new Path($pathname->replace($base->removeTrailingSeparator()->getPathname(), ''));
	}
public function makeRelativeTo ( Path $ base ) { $ pathname = clone $ this -> pathname ; return new Path ( $ pathname -> replace ( $ base -> removeTrailingSeparator ( ) -> getPathname ( ) , '' ) ) ; }
Makes the path relative to another given path

@param Path $base
@return Path the new relative path
Makes the path relative to another given path