public function concatenate( $url, $where = [] ) {
		if ( $this->getUrl() === static::WILDCARD || $url === static::WILDCARD ) {
			return new static( static::WILDCARD );
		}

		$leading = UrlUtility::addLeadingSlash( UrlUtility::removeTrailingSlash( $this->getUrl() ), true );
		$trailing = UrlUtility::addLeadingSlash( UrlUtility::addTrailingSlash( $url ) );

		$concatenated = new static( $leading . $trailing, array_merge(
			$this->getUrlWhere(),
			$where
		) );

		return $concatenated;
	}
public function concatenate( $url, $where = [] ) {
		if ( $this->getUrl() === static::WILDCARD || $url === static::WILDCARD ) {
			return new static( static::WILDCARD );
		}

		$leading = UrlUtility::addLeadingSlash( UrlUtility::removeTrailingSlash( $this->getUrl() ), true );
		$trailing = UrlUtility::addLeadingSlash( UrlUtility::addTrailingSlash( $url ) );

		$concatenated = new static( $leading . $trailing, array_merge(
			$this->getUrlWhere(),
			$where
		) );

		return $concatenated;
	}
public function concatenate ( $ url , $ where = [ ] ) { if ( $ this -> getUrl ( ) === static :: WILDCARD || $ url === static :: WILDCARD ) { return new static ( static :: WILDCARD ) ; } $ leading = UrlUtility :: addLeadingSlash ( UrlUtility :: removeTrailingSlash ( $ this -> getUrl ( ) ) , true ) ; $ trailing = UrlUtility :: addLeadingSlash ( UrlUtility :: addTrailingSlash ( $ url ) ) ; $ concatenated = new static ( $ leading . $ trailing , array_merge ( $ this -> getUrlWhere ( ) , $ where ) ) ; return $ concatenated ; }
Append a url to this one returning a new instance.

@param  string                $url
@param  array<string, string> $where
@return static
Append a url to this one returning a new instance .