SilverStripe\Assets\Flysystem\FlysystemAssetStore::getFileID
Map file tuple (hash, name, variant) to a filename to be used by flysystem
The resulting file will look something like my/directory/EA775CB4D4/filename__variant.jpg
Signature
protected function getFileID(string
$filename,
string
$hash,
[string
$variant = NULL] )
Parameters
$filename
— string- Name of file
$hash
— string- Hash of original file
$variant
— string- (if given)
Returns
- string
- Adapter specific identifier for this file/version