public function suffixName($suffix)
    {
        $name = $this->name();
        if (static::SELF_ATOM === $name) {
            return $this->replaceName($suffix);
        }

        return $this->replaceName($name . $suffix);
    }
public function suffixName($suffix)
    {
        $name = $this->name();
        if (static::SELF_ATOM === $name) {
            return $this->replaceName($suffix);
        }

        return $this->replaceName($name . $suffix);
    }
public function suffixName ( $ suffix ) { $ name = $ this -> name ( ) ; if ( static :: SELF_ATOM === $ name ) { return $ this -> replaceName ( $ suffix ) ; } return $ this -> replaceName ( $ name . $ suffix ) ; }
Suffixes this path's name with a supplied string.

@param string $suffix The string to suffix to the path name.

@return PathInterface                               A new path instance with the supplied string suffixed to the last path atom.
@throws Exception\InvalidPathAtomExceptionInterface If the suffix causes the atom to be invalid.
Suffixes this path s name with a supplied string .