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

feat: email abstract

parent 787d7b8c
No related branches found
No related tags found
1 merge request!2Devel
Pipeline #150973 passed
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -49,7 +49,7 @@ abstract class EmailAbstract implements EmailInterface { ...@@ -49,7 +49,7 @@ abstract class EmailAbstract implements EmailInterface {
/** /**
* @var array * @var array
*/ */
protected $headers; protected $headers = [];
/** /**
* Define unique email ID. * 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