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: NullTransportFactory.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 Symfony\Component\Mailer\Exception\UnsupportedSchemeException; /** * @author Konstantin Myakshin <molodchick@gmail.com> */ final class NullTransportFactory extends AbstractTransportFactory { public function create(Dsn $dsn): TransportInterface { if ('null' === $dsn->getScheme()) { return new NullTransport($this->dispatcher, $this->logger); } throw new UnsupportedSchemeException($dsn, 'null', $this->getSupportedSchemes()); } protected function getSupportedSchemes(): array { return ['null']; } }
Upload File
Create Folder