| 1 | <?php |
||
| 13 | class RecordEvent extends EntityEvent |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var CommandInterface |
||
| 17 | */ |
||
| 18 | private $command; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param EntityInterface $entity |
||
| 22 | * @param CommandInterface $command |
||
| 23 | */ |
||
| 24 | public function __construct(EntityInterface $entity, CommandInterface $command) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Command associated with entity operation. |
||
| 32 | * |
||
| 33 | * @return CommandInterface |
||
| 34 | */ |
||
| 35 | public function getCommand(): CommandInterface |
||
| 39 | } |