Skip to content
Snippets Groups Projects
Commit 27c06b40 authored by Piotr Potrebka's avatar Piotr Potrebka
Browse files

feat: email abstract

parent 787d7b8c
Branches
Tags
1 merge request!2Devel
Pipeline #150973 passed
......@@ -49,7 +49,7 @@ abstract class EmailAbstract implements EmailInterface {
/**
* @var array
*/
protected $headers;
protected $headers = [];
/**
* Define unique email ID.
......
<?php
namespace WPDesk\Library\WPEmail\Emails;
use WPDesk\Library\WPEmail\Abstracts\EmailAbstract;
class Email extends EmailAbstract {
const ID = 'email';
/**
* Define unique email ID.
*
* @return string
*/
public function get_id(): string {
return self::ID;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment