for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Genkgo\Mail\Protocol\Smtp\Request;
use Genkgo\Mail\Protocol\ConnectionInterface;
use Genkgo\Mail\Protocol\Smtp\RequestInterface;
final class QuitCommand implements RequestInterface
{
/**
* @param ConnectionInterface $connection
* @return void
*/
public function execute(ConnectionInterface $connection): void
$connection->send('QUIT');
$connection->disconnect();
}