mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Refactor emails models objects, rework related tests
This commit is contained in:
14
common/tests/_support/EmailsRenderer.php
Normal file
14
common/tests/_support/EmailsRenderer.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace common\tests\_support;
|
||||
|
||||
use common\components\EmailsRenderer\Component;
|
||||
|
||||
class EmailsRenderer extends Component {
|
||||
|
||||
public function render(string $templateName, string $locale, array $params = []): string {
|
||||
return 'template';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user