public function joinAtomSequence($atoms)
    {
        if (!is_array($atoms)) {
            $atoms = iterator_to_array($atoms);
        }

        return $this->createPath(
            array_merge($this->atoms(), $atoms),
            $this instanceof AbsolutePathInterface,
            false
        );
    }
public function joinAtomSequence($atoms)
    {
        if (!is_array($atoms)) {
            $atoms = iterator_to_array($atoms);
        }

        return $this->createPath(
            array_merge($this->atoms(), $atoms),
            $this instanceof AbsolutePathInterface,
            false
        );
    }
public function joinAtomSequence ( $ atoms ) { if ( ! is_array ( $ atoms ) ) { $ atoms = iterator_to_array ( $ atoms ) ; } return $ this -> createPath ( array_merge ( $ this -> atoms ( ) , $ atoms ) , $ this instanceof AbsolutePathInterface , false ) ; }
Joins a sequence of atoms to this path.

@param mixed<string> $atoms The path atoms to append.

@return PathInterface                               A new path with the supplied sequence of atoms suffixed to this path.
@throws Exception\InvalidPathAtomExceptionInterface If any joined atoms are invalid.
Joins a sequence of atoms to this path .