DefaultAssetNameGenerator
class DefaultAssetNameGenerator implements AssetNameGenerator (View source)
Basic filename renamer
Properties
static private string | $version_prefix | A prefix for the version number added to an uploaded file when a file with the same name already exists. |
Methods
__construct(string $filename)
Construct a generator for the given filename
string
current()
No description
int
key()
No description
void
next()
No description
void
rewind()
No description
bool
valid()
No description
int
getMaxTries()
Number of attempts allowed
Details
__construct(string $filename)
Construct a generator for the given filename
string
current()
int
key()
void
next()
void
rewind()
bool
valid()
int
getMaxTries()
Number of attempts allowed