21 lines
643 B
PHP
21 lines
643 B
PHP
|
<?php
|
||
|
|
||
|
use Psr\Container\ContainerInterface;
|
||
|
|
||
|
return [
|
||
|
ProVM\Command\Attachments\DecryptPdf::class => function(ContainerInterface $container) {
|
||
|
return new ProVM\Command\Attachments\DecryptPdf(
|
||
|
$container->get(ProVM\Service\Communicator::class),
|
||
|
$container->get(Psr\Log\LoggerInterface::class),
|
||
|
'qpdf',
|
||
|
$container->get('passwords')
|
||
|
);
|
||
|
},
|
||
|
ProVM\Command\Mailboxes\Check::class => function(ContainerInterface $container) {
|
||
|
return new ProVM\Command\Mailboxes\Check(
|
||
|
$container->get(ProVM\Service\Communicator::class),
|
||
|
1
|
||
|
);
|
||
|
}
|
||
|
];
|