mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-23 01:02:16 +02:00
N°4307 Replace SwiftMailer with Laminas-mail
This commit is contained in:
25
lib/laminas/laminas-mail/src/Module.php
Normal file
25
lib/laminas/laminas-mail/src/Module.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-mail for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-mail/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-mail/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
namespace Laminas\Mail;
|
||||
|
||||
class Module
|
||||
{
|
||||
/**
|
||||
* Retrieve laminas-mail package configuration for laminas-mvc context.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getConfig()
|
||||
{
|
||||
$provider = new ConfigProvider();
|
||||
return [
|
||||
'service_manager' => $provider->getDependencyConfig(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user