X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/symfony/mailer/Transport
home
/
prisjneg
/
public_html
/
vendor
/
symfony
/
mailer
/
Transport
/
📁
..
📄
AbstractApiTransport.php
(1.54 KB)
📄
AbstractHttpTransport.php
(2.1 KB)
📄
AbstractTransport.php
(3.97 KB)
📄
AbstractTransportFactory.php
(1.44 KB)
📄
Dsn.php
(2.39 KB)
📄
FailoverTransport.php
(971 B)
📄
NativeTransportFactory.php
(2 KB)
📄
NullTransport.php
(654 B)
📄
NullTransportFactory.php
(861 B)
📄
RoundRobinTransport.php
(3.61 KB)
📄
SendmailTransport.php
(4.26 KB)
📄
SendmailTransportFactory.php
(967 B)
📁
Smtp
📄
TransportFactoryInterface.php
(719 B)
📄
TransportInterface.php
(891 B)
📄
Transports.php
(2.27 KB)
Editing: AbstractTransportFactory.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Transport; use Psr\EventDispatcher\EventDispatcherInterface; use Psr\Log\LoggerInterface; use Symfony\Component\Mailer\Exception\IncompleteDsnException; use Symfony\Contracts\HttpClient\HttpClientInterface; /** * @author Konstantin Myakshin <molodchick@gmail.com> */ abstract class AbstractTransportFactory implements TransportFactoryInterface { protected $dispatcher; protected $client; protected $logger; public function __construct(?EventDispatcherInterface $dispatcher = null, ?HttpClientInterface $client = null, ?LoggerInterface $logger = null) { $this->dispatcher = $dispatcher; $this->client = $client; $this->logger = $logger; } public function supports(Dsn $dsn): bool { return \in_array($dsn->getScheme(), $this->getSupportedSchemes()); } abstract protected function getSupportedSchemes(): array; protected function getUser(Dsn $dsn): string { return $dsn->getUser() ?? throw new IncompleteDsnException('User is not set.'); } protected function getPassword(Dsn $dsn): string { return $dsn->getPassword() ?? throw new IncompleteDsnException('Password is not set.'); } }
Upload File
Create Folder