Files
emails/api/setup/setups/02_services.php

23 lines
908 B
PHP
Raw Normal View History

2022-11-09 15:20:04 -03:00
<?php
use Psr\Container\ContainerInterface;
return [
2022-11-28 22:56:21 -03:00
ProVM\Common\Service\Decrypt::class => function(ContainerInterface $container) {
return new ProVM\Common\Service\Decrypt(
$container->get(Psr\Log\LoggerInterface::class),
2022-11-09 15:20:04 -03:00
$container->get('base_command'),
$container->get('passwords')
);
},
2022-11-28 22:56:21 -03:00
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)
2022-11-09 15:20:04 -03:00
);
}
];