16 lines
443 B
PHP
16 lines
443 B
PHP
<?php
|
|
use Psr\Container\ContainerInterface as Container;
|
|
|
|
return [
|
|
GuzzleHttp\Client::class => function(Container $c) {
|
|
return new GuzzleHttp\Client();
|
|
},
|
|
Contabilidad\Common\Service\PdfHandler::class => function(Container $c) {
|
|
return new Contabilidad\Common\Service\PdfHandler($c->get(GuzzleHttp\Client::class), $c->get('folders')->pdfs, implode('/', [
|
|
$c->get('urls')->python,
|
|
'pdf',
|
|
'parse'
|
|
]));
|
|
}
|
|
];
|