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

feat: email abstract

parent b9bf52cb
No related branches found
No related tags found
1 merge request!2Devel
Pipeline #151263 passed with stages
in 54 seconds
......@@ -271,18 +271,7 @@ abstract class EmailAbstract implements EmailInterface {
* @throws Exception
*/
public function get_content(): string {
if ( ! $this->content ) {
throw new Exception( 'Empty email content' );
}
return '';
}
/**
* @return mixed
*/
public function get_object() {
return '';
return $this->content;
}
......
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