class DefaultAssetNameGenerator implements AssetNameGenerator

Basic filename renamer

Config options

version_prefix string 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

current()

No description

key()

No description

next()

No description

rewind()

No description

valid()

No description

int
getMaxTries()

Number of attempts allowed

Details

at line 81
__construct(string $filename)

Construct a generator for the given filename

Parameters

string $filename

at line 123
current()

at line 148
key()

at line 153
next()

at line 158
rewind()

at line 163
valid()

at line 168
int getMaxTries()

Number of attempts allowed

Return Value

int