Refactor emails models objects, rework related tests

This commit is contained in:
ErickSkrauch
2019-06-16 23:59:19 +03:00
parent 1bf249030f
commit 70d1999d55
24 changed files with 522 additions and 196 deletions

View File

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace common\emails\exceptions;
use Exception;
use Throwable;
class CannotRenderEmailException extends Exception {
public function __construct(Throwable $previous = null) {
parent::__construct('Unable to render a template', 0, $previous);
}
}