PHP Class FileUpload\FileNameGenerator\Custom

Inheritance: implements FileUpload\FileNameGenerator\FileNameGenerator
Afficher le fichier Open project: gargron/fileupload Class Usage Examples

Protected Properties

Свойство Type Description
$generator

Méthodes publiques

Méthode Description
__construct ( string | callable | Closur\Closure $nameGenerator )
getFileName ( $source_name, $type, $tmp_name, $index, $content_range, FileUpload $upload )

Method Details

__construct() public méthode

public __construct ( string | callable | Closur\Closure $nameGenerator )
$nameGenerator string | callable | Closur\Closure

getFileName() public méthode

public getFileName ( $source_name, $type, $tmp_name, $index, $content_range, FileUpload $upload )
$upload FileUpload\FileUpload

Property Details

$generator protected_oe property

protected $generator