SilverStripe\Assets\Storage\AssetNameGenerator
Provides a mechanism for suggesting filename alterations to a file
Does not actually check for existence of the file, but rather comes up with as many suggestions for
the given file as possible to a finite limit.
Synopsis
interface AssetNameGenerator
extends Iterator
{
- // methods
- public void __construct()
- public int getMaxTries()
- // Inherited methods from Iterator
- public mixed current()
- public scalar key()
- public void next()
- public void rewind()
- public bool valid()
Hierarchy
Extends
Methods
public
- __construct() — Construct a generator for the given filename
- getMaxTries() — Number of attempts allowed