protected function realPath($additionalPath)
    {
        if (substr($additionalPath, 0, 1) === '/') {
            $path = $additionalPath;
        } else if ($additionalPath !== '') {
            $path = $this->path . $additionalPath;
        } else {
            $path = $this->path;
        }
    
        return $path;
    }
protected function realPath($additionalPath)
    {
        if (substr($additionalPath, 0, 1) === '/') {
            $path = $additionalPath;
        } else if ($additionalPath !== '') {
            $path = $this->path . $additionalPath;
        } else {
            $path = $this->path;
        }
    
        return $path;
    }
protected function realPath ( $ additionalPath ) { if ( substr ( $ additionalPath , 0 , 1 ) === '/' ) { $ path = $ additionalPath ; } else if ( $ additionalPath !== '' ) { $ path = $ this -> path . $ additionalPath ; } else { $ path = $ this -> path ; } return $ path ; }
Returns the real path for the given additional path and the
file path which was given to the backend in the constructor.

@access public
@param string $additionalPath
@return string
Returns the real path for the given additional path and the file path which was given to the backend in the constructor .