Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Common\Other\Audit; |
| 3 | |
| 4 | use Apie\Common\Enums\AuditLogEvent; |
| 5 | use Apie\Core\Context\ApieContext; |
| 6 | use Apie\Core\Entities\EntityInterface; |
| 7 | use Apie\Core\Translator\ApieTranslatorInterface; |
| 8 | use Apie\Core\ValueObjects\NonEmptyString; |
| 9 | |
| 10 | interface AuditEvent |
| 11 | { |
| 12 | public function getEvent(): AuditLogEvent; |
| 13 | |
| 14 | /** |
| 15 | * @param class-string<EntityInterface>|EntityInterface|null $entity |
| 16 | */ |
| 17 | public function getDescription( |
| 18 | ApieTranslatorInterface $translator, |
| 19 | ApieContext $context, |
| 20 | string|EntityInterface|null $entity, |
| 21 | ): NonEmptyString; |
| 22 | } |