protected function getObjectPath($path, $filter)
    {
        $path = $this->cachePrefix
            ? sprintf('%s/%s/%s', $this->cachePrefix, $filter, $path)
            : sprintf('%s/%s', $filter, $path);

        return str_replace('//', '/', $path);
    }
protected function getObjectPath($path, $filter)
    {
        $path = $this->cachePrefix
            ? sprintf('%s/%s/%s', $this->cachePrefix, $filter, $path)
            : sprintf('%s/%s', $filter, $path);

        return str_replace('//', '/', $path);
    }
protected function getObjectPath ( $ path , $ filter ) { $ path = $ this -> cachePrefix ? sprintf ( '%s/%s/%s' , $ this -> cachePrefix , $ filter , $ path ) : sprintf ( '%s/%s' , $ filter , $ path ) ; return str_replace ( '//' , '/' , $ path ) ; }
Returns the object path within the bucket.

@param string $path   The base path of the resource
@param string $filter The name of the imagine filter in effect

@return string The path of the object on S3
Returns the object path within the bucket .