This commit is contained in:
2022-11-25 20:52:52 -03:00
parent dd0410a0fb
commit efed50cd7f
39 changed files with 2777 additions and 5 deletions

View File

@ -5,7 +5,7 @@ return [
\ProVM\Common\Service\Mailboxes::class => function(ContainerInterface $container) {
return (new \ProVM\Common\Service\Mailboxes(
$container->get(\Ddeboer\Imap\ConnectionInterface::class),
$container->get('emails')->folder,
$container->get(\ProVM\Common\Service\Attachments::class),
$container->get('emails')->username
))->setLogger($container->get(\Psr\Log\LoggerInterface::class));
},
@ -19,6 +19,7 @@ return [
\ProVM\Common\Service\Attachments::class => function(ContainerInterface $container) {
return new \ProVM\Common\Service\Attachments(
$container->get(\ProVM\Common\Service\Decrypt::class),
$container->get(\ProVM\Emails\Repository\Attachment::class),
$container->get('attachments_folder')
);
},