18 lines
439 B
PHP
18 lines
439 B
PHP
<?php
|
|
|
|
namespace App\EventLog\Action\Command;
|
|
|
|
use OneToMany\RichBundle\Contract\CommandInterface;
|
|
use Symfony\Component\Security\Core\User\UserInterface;
|
|
|
|
/** @implements CommandInterface<AddEventLogCommand> */
|
|
class AddEventLogCommand implements CommandInterface
|
|
{
|
|
public function __construct(
|
|
public UserInterface $user,
|
|
public string $type,
|
|
public string $message,
|
|
public array $context,
|
|
) {}
|
|
}
|