Attachment/AttachmentHandler.php
protected function getStoragePath(Storage $storage, FileKey $fileKey)
    {
        return ltrim($storage->getPathPrefix().'/'.$fileKey->getFilePath(), '/');
    }
protected function getStoragePath(Storage $storage, FileKey $fileKey)
    {
        return ltrim($storage->getPathPrefix().'/'.$fileKey->getFilePath(), '/');
    }
protected function getStoragePath ( Storage $ storage , FileKey $ fileKey ) { return ltrim ( $ storage -> getPathPrefix ( ) . '/' . $ fileKey -> getFilePath ( ) , '/' ) ; }
Get the path inside the storage for the given Storage and FileKey.

@param Storage $storage
@param FileKey $fileKey

@return string
Get the path inside the storage for the given Storage and FileKey .