composer package updates
[openemr.git] / vendor / zendframework / zend-mail / src / ConfigProvider.php
blob575aba47353a6264bacc9a5b1345a9960d5e70e6
1 <?php
2 /**
3 * @link http://github.com/zendframework/zend-mail for the canonical source repository
4 * @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (https://www.zend.com)
5 * @license https://github.com/zendframework/zend-mail/blob/master/LICENSE.md New BSD License
6 */
8 namespace Zend\Mail;
10 class ConfigProvider
12 /**
13 * Retrieve configuration for zend-mail package.
15 * @return array
17 public function __invoke()
19 return [
20 'dependencies' => $this->getDependencyConfig(),
24 /**
25 * Retrieve dependency settings for zend-mail package.
27 * @return array
29 public function getDependencyConfig()
31 return [
32 'factories' => [
33 Protocol\SmtpPluginManager::class => Protocol\SmtpPluginManagerFactory::class,