class DownloadStatisticsExporter (View source)

Constants

protected DATETIME_OUTPUT_FORMAT

protected MAX_ITEMS_PER_QUERY

Properties

protected File $file
protected Writer $writer
protected DateTimeZone $appTimezone
protected EntityManager $entityManager

Methods

__construct(File $file, Writer $writer, Date $dateService, EntityManagerInterface $entityManager)

No description

insertHeaders()

Insert the header row.

insertRecords()

Insert all the record rows.

generateHeaders()

No description

generateRecordList()

No description

generateRecord(DownloadStatistics $record)

No description

Details

__construct(File $file, Writer $writer, Date $dateService, EntityManagerInterface $entityManager)

No description

Parameters

File $file
Writer $writer
Date $dateService
EntityManagerInterface $entityManager

DownloadStatisticsExporter insertHeaders()

Insert the header row.

DownloadStatisticsExporter insertRecords()

Insert all the record rows.

protected Generator generateHeaders()

No description

Return Value

Generator

protected Generator generateRecordList()

No description

Return Value

Generator

protected Generator generateRecord(DownloadStatistics $record)

No description

Parameters

DownloadStatistics $record

Return Value

Generator