CSV::getDownloadFilename PHP Метод

getDownloadFilename() публичный Метод

Used for constructing the filename of the filename when downloading.
См. также: ExportTypePlugin::getDownloadFilename()
public getDownloadFilename ( Generator $generator ) : string
$generator Generator
Результат string
    public function getDownloadFilename($generator)
    {
        $time = date("M-j-Y");
        return "data{$time}.csv";
    }