bingo-soft /
jabe
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Jabe\Impl\Cmd; |
||
| 4 | |||
| 5 | use Jabe\Impl\Interceptor\CommandContext; |
||
| 6 | use Jabe\Impl\Persistence\Entity\PropertyChange; |
||
| 7 | |||
| 8 | class PatchExecutionVariablesCmd extends AbstractPatchVariablesCmd |
||
| 9 | { |
||
| 10 | public function __construct(string $executionId, array $modifications, array $deletions, bool $isLocal) |
||
| 11 | { |
||
| 12 | parent::__construct($executionId, $modifications, $deletions, $isLocal); |
||
| 13 | } |
||
| 14 | |||
| 15 | protected function getSetVariableCmd(): SetExecutionVariablesCmd |
||
| 16 | { |
||
| 17 | return new SetExecutionVariablesCmd($this->entityId, $this->variables, $this->isLocal); |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function getRemoveVariableCmd(): RemoveExecutionVariablesCmd |
||
| 21 | { |
||
| 22 | return new RemoveExecutionVariablesCmd($this->entityId, $this->deletions, $this->isLocal); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function logVariableOperation(CommandContext $commandContext): void |
||
| 26 | { |
||
| 27 | $commandContext->getOperationLogManager()->logVariableOperation( |
||
| 28 | $this->getLogEntryOperation(), |
||
| 29 | $this->entityId, |
||
| 30 | null, |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 31 | PropertyChange::emptyChange() |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |