API
This commit is contained in:
@ -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')
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user