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\Backend;
use Genkgo\Mail\EmailAddress;
use Genkgo\Mail\MessageInterface;
use Genkgo\Mail\Protocol\Smtp\BackendInterface;
final class DevNullBackend implements BackendInterface
{
/**
* @param EmailAddress $mailbox
* @return bool
*/
public function contains(EmailAddress $mailbox): bool
return true;
}
* @param MessageInterface $message
public function store(EmailAddress $mailbox, MessageInterface $message): void
// and it's gone.