2021-04-04 22:41:15 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use function DI\create;
|
|
|
|
use function DI\get;
|
|
|
|
|
|
|
|
use RprtCli\Commands\RprtCommand;
|
2021-04-05 16:23:06 +02:00
|
|
|
use RprtCli\Utils\CsvReport\CsvReport;
|
|
|
|
use RprtCli\Utils\CsvReport\CsvReportInterface;
|
2021-04-04 22:41:15 +02:00
|
|
|
|
|
|
|
return [
|
2021-04-05 16:23:06 +02:00
|
|
|
\GuzzleHttp\ClientInterface::class => DI\get(\GuzzleHttp\Client::class),
|
|
|
|
CsvReportInterface::class => DI\get(CsvReport::class),
|
|
|
|
RprtCommand::class => DI\create()->constructor(
|
|
|
|
DI\get(CsvReportInterface::class)
|
2021-04-04 22:41:15 +02:00
|
|
|
)
|
|
|
|
];
|