23 lines
908 B
PHP
23 lines
908 B
PHP
<?php
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
return [
|
|
ProVM\Common\Service\Decrypt::class => function(ContainerInterface $container) {
|
|
return new ProVM\Common\Service\Decrypt(
|
|
$container->get(Psr\Log\LoggerInterface::class),
|
|
$container->get('base_command'),
|
|
$container->get('passwords')
|
|
);
|
|
},
|
|
ProVM\Common\Service\Attachments::class => function(ContainerInterface $container) {
|
|
return new ProVM\Common\Service\Attachments(
|
|
$container->get(ProVM\Common\Service\Messages::class),
|
|
$container->get(ProVM\Emails\Repository\Attachment::class),
|
|
$container->get(ProVM\Common\Service\Remote\Attachments::class),
|
|
$container->get(ProVM\Common\Service\Decrypt::class),
|
|
$container->get('attachments_folder'),
|
|
$container->get(Psr\Log\LoggerInterface::class)
|
|
);
|
|
}
|
|
];
|