[Mailer] Make default factories public
This commit is contained in:
parent
7ecb5aad8e
commit
c9863c6a6c
@ -149,7 +149,7 @@ class Transport
|
|||||||
throw new UnsupportedSchemeException($dsn);
|
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) {
|
foreach (self::FACTORY_CLASSES as $factoryClass) {
|
||||||
if (class_exists($factoryClass)) {
|
if (class_exists($factoryClass)) {
|
||||||
|
Reference in New Issue
Block a user