interface AssetNameGenerator implements Iterator (View source)

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.

Methods

__construct(string $filename)

Construct a generator for the given filename

int
getMaxTries()

Number of attempts allowed

Details

__construct(string $filename)

Construct a generator for the given filename

Parameters

string $filename

int getMaxTries()

Number of attempts allowed

Return Value

int