Create repository for logs

[MAILPOET-3135]
This commit is contained in:
Pavel Dohnal
2021-03-02 10:46:08 +01:00
committed by Veljko V
parent 9fe84dd42d
commit 174583cc84
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace MailPoet\Logging;
use MailPoet\Doctrine\Repository;
use MailPoet\Entities\LogEntity;
/**
* @extends Repository<LogEntity>
*/
class LogRepository extends Repository {
protected function getEntityClassName() {
return LogEntity::class;
}
}