22 lines
728 B
PHP
22 lines
728 B
PHP
<?php
|
|
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
return [
|
|
ProVM\Service\Mailboxes::class => function(ContainerInterface $container) {
|
|
return new ProVM\Service\Mailboxes(
|
|
$container->get(ProVM\Service\Communicator::class),
|
|
$container->get(Psr\Log\LoggerInterface::class),
|
|
$container->get('min_check_days')
|
|
);
|
|
},
|
|
ProVM\Service\Attachments::class => function(ContainerInterface $container) {
|
|
return new ProVM\Service\Attachments(
|
|
$container->get(ProVM\Service\Communicator::class),
|
|
$container->get(Psr\Log\LoggerInterface::class),
|
|
$container->get('passwords'),
|
|
$container->get('base_command')
|
|
);
|
|
},
|
|
];
|