generated from Nodarx/template
16 lines
408 B
PHP
16 lines
408 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KTXM\ProviderImap\Client\Transport;
|
|
|
|
use KTXM\ProviderImap\Client\ConnectionConfig;
|
|
use Psr\Log\LoggerInterface;
|
|
|
|
final class SocketConnectionFactory implements ConnectionFactoryInterface
|
|
{
|
|
public function create(ConnectionConfig $config, ?LoggerInterface $logger = null): ConnectionInterface
|
|
{
|
|
return new SocketConnection($config, $logger);
|
|
}
|
|
} |