protected function appendSeoTerms(UriInterface $uri): UriInterface
    {
        if (!empty($this->seoTerms)) {
            $uri = $uri->withPath($uri->getPath().'/'.implode('/', $this->seoTerms));
        }

        return $uri;
    }
protected function appendSeoTerms(UriInterface $uri): UriInterface
    {
        if (!empty($this->seoTerms)) {
            $uri = $uri->withPath($uri->getPath().'/'.implode('/', $this->seoTerms));
        }

        return $uri;
    }
protected function appendSeoTerms ( UriInterface $ uri ) : UriInterface { if ( ! empty ( $ this -> seoTerms ) ) { $ uri = $ uri -> withPath ( $ uri -> getPath ( ) . '/' . implode ( '/' , $ this -> seoTerms ) ) ; } return $ uri ; }
Append the SEO terms to the end of a URI.

@param UriInterface $uri The URI to append to.

@return UriInterface
Append the SEO terms to the end of a URI .