for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByJG\Mail\Wrapper;
use ByJG\Mail\Envelope;
class SendMailWrapper implements MailWrapperInterface
{
public function send(Envelope $envelope)
mail($envelope->getTo(), $envelope->getSubject(), $envelope->getBody());
}