protected getStoragePathAndFilenameByHash ( string $sha1Hash ) : string | ||
$sha1Hash | string | The SHA1 hash identifying the stored resource |
return | string | The path and filename, for example "/var/www/mysite.com/Data/Persistent/c/8/2/8/c828d0f88ce197be1aff7cc2e5e86b1244241ac6" |
protected function getStoragePathAndFilenameByHash($sha1Hash)
{
return $this->path . $sha1Hash[0] . '/' . $sha1Hash[1] . '/' . $sha1Hash[2] . '/' . $sha1Hash[3] . '/' . $sha1Hash;
}