Current Path : /storage/v11800/romasitenew/public_html/wp-content/plugins/fluent-smtp/app/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/romasitenew/public_html/wp-content/plugins/fluent-smtp/app/Bindings.php |
<?php
$singletons = [
'manager' => 'FluentMail\App\Services\Mailer\Manager',
'smtp' => 'FluentMail\App\Services\Mailer\Providers\Smtp\Handler',
'ses' => 'FluentMail\App\Services\Mailer\Providers\AmazonSes\Handler',
'mailgun' => 'FluentMail\App\Services\Mailer\Providers\Mailgun\Handler',
'sendgrid' => 'FluentMail\App\Services\Mailer\Providers\SendGrid\Handler',
'pepipost' => 'FluentMail\App\Services\Mailer\Providers\PepiPost\Handler',
'sparkpost' => 'FluentMail\App\Services\Mailer\Providers\SparkPost\Handler',
'default' => 'FluentMail\App\Services\Mailer\Providers\DefaultMail\Handler',
'sendinblue' => 'FluentMail\App\Services\Mailer\Providers\SendInBlue\Handler',
'gmail' => 'FluentMail\App\Services\Mailer\Providers\Gmail\Handler',
'outlook' => 'FluentMail\App\Services\Mailer\Providers\Outlook\Handler',
'postmark' => 'FluentMail\App\Services\Mailer\Providers\Postmark\Handler',
'elasticmail' => 'FluentMail\App\Services\Mailer\Providers\ElasticMail\Handler'
];
foreach ($singletons as $key => $className) {
$app->alias($className, $key);
$app->singleton($className, function($app) use ($className) {
return new $className();
});
}