RprtCli/app/src/Utils/CsvReport/CsvReportInterface.php

30 lines
626 B
PHP
Raw Normal View History

2021-04-05 16:23:06 +02:00
<?php
2021-09-20 01:08:42 +02:00
declare(strict_types=1);
2021-04-05 16:23:06 +02:00
2021-09-20 01:08:42 +02:00
namespace RprtCli\Utils\CsvReport;
2021-04-05 16:23:06 +02:00
/**
* Handles creating report data from csv file downloaded from youtrack service.
*/
2021-09-20 01:08:42 +02:00
interface CsvReportInterface
{
2021-04-05 16:23:06 +02:00
/**
* Returns array of hours per configured projects.
2021-09-20 01:08:42 +02:00
*
* @todo - get data from variable.
*
*
* Project key as key and number of hours as value.
2021-04-05 16:23:06 +02:00
*/
2023-01-02 15:18:52 +01:00
public function getInvoiceData(string $filePath): array;
/**
* Data for default drunomics pdf export.
*
*
* Parsed data from csv report.
*/
2023-01-02 15:18:52 +01:00
public function arangeDataForDefaultPdfExport(array $data): array;
2021-04-05 16:23:06 +02:00
}