for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Nip\Mail\Tests\Fixtures\Models\Emails;
use Nip\Mail\Models\Mailable\RecordTrait;
use Nip\Records\Record;
/**
* Class Email.
*/
class Email extends Record
{
use RecordTrait;
protected $body = '';
protected $mergeTags = [];
* {@inheritDoc}
public function getFrom()
// TODO: Implement getFrom() method.
}
public function getSubject(): ?string
return '';
public function getBody()
return $this->body;
public function setBody(string $body)
$this->body = $body;
public function getMergeTags()
return $this->mergeTags;
public function setMergeTags(array $mergeTags)
$this->mergeTags = $mergeTags;
protected function getCustomArgs()
// TODO: Implement getCustomArgs() method.
public function getTos()
return explode(',', $this->get('to'));