SilverStripe\Assets\Flysystem\FlysystemAssetStore::normaliseToDefaultPath
Given a parsed file ID, move the matching file and all its variants to the default position as defined by the provided strategy.
Signature
private function normaliseToDefaultPath(ParsedFileID
$pfid,
Filesystem
$fs,
FileResolutionStrategy
$strategy )
Parameters
$pfid
— SilverStripe\Assets\FilenameParsing\ParsedFileID
$fs
— League\Flysystem\Filesystem
$strategy
— SilverStripe\Assets\FilenameParsing\FileResolutionStrategy
Returns
- array
- List of new file names with the old name as the key