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

feat: email abstract

parent 6290b817
No related branches found
No related tags found
1 merge request!2Devel
Pipeline #150950 passed with stages
in 55 seconds
......@@ -6,6 +6,11 @@ use Exception;
abstract class EmailAbstract implements EmailInterface {
/**
* @var bool
*/
private $is_enable;
/**
* @var array
*/
......@@ -53,6 +58,22 @@ abstract class EmailAbstract implements EmailInterface {
*/
abstract public function get_id(): string;
/**
* @return bool
*/
public function get_is_enable(): bool {
return $this->is_enable;
}
/**
* @return bool
*/
public function set_is_enable( $enable ): self {
$this->is_enable = $enable;
return $this;
}
/**
* Set placeholders.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment