[Mailer] Make default factories public

This commit is contained in:
Fabien Potencier 2020-01-30 11:51:57 +01:00
parent 7ecb5aad8e
commit c9863c6a6c

View File

@ -149,7 +149,7 @@ class Transport
throw new UnsupportedSchemeException($dsn);
}
private static function getDefaultFactories(EventDispatcherInterface $dispatcher = null, HttpClientInterface $client = null, LoggerInterface $logger = null): iterable
public static function getDefaultFactories(EventDispatcherInterface $dispatcher = null, HttpClientInterface $client = null, LoggerInterface $logger = null): iterable
{
foreach (self::FACTORY_CLASSES as $factoryClass) {
if (class_exists($factoryClass)) {