public function add(string $email, string $name = null): void
    {
        $recipient = $this->make();
        $recipient->email = $email;
        if ($name !== null) {
            $recipient->name = $name;
        }
        $this->set($recipient);
    }
public function add(string $email, string $name = null): void
    {
        $recipient = $this->make();
        $recipient->email = $email;
        if ($name !== null) {
            $recipient->name = $name;
        }
        $this->set($recipient);
    }
public function add ( string $ email , string $ name = null ) : void { $ recipient = $ this -> make ( ) ; $ recipient -> email = $ email ; if ( $ name !== null ) { $ recipient -> name = $ name ; } $ this -> set ( $ recipient ) ; }
Add a recipient.

@param string $email The recipient email address.
@param string|null $name The recipient name.
Add a recipient .