SilverStripe\Assets\Flysystem\FlysystemAssetStore::findVariants
Returns an iterable {@see Generator} of all files / variants for the given $fileID in the given $filesystem This includes the empty (no) variant.
Signature
protected function findVariants(string
$fileID,
Filesystem
$filesystem )
Parameters
$fileID
—
string
- ID of original file to compare with.
$filesystem
—
League\Flysystem\Filesystem
Returns
- Generator