diff --git a/config/api_platform/Command.yaml b/config/api_platform/Command.yaml new file mode 100644 index 0000000..e69de29 diff --git a/src/Dto/Input/CommandInput.php b/src/Dto/Input/CommandInput.php new file mode 100644 index 0000000..03d64f2 --- /dev/null +++ b/src/Dto/Input/CommandInput.php @@ -0,0 +1,8 @@ +id; @@ -45,4 +48,16 @@ class Command extends AbstractEntity return $this; } + + public function isReadOnly(): ?bool + { + return $this->readOnly; + } + + public function setReadOnly(bool $readOnly): static + { + $this->readOnly = $readOnly; + + return $this; + } } diff --git a/src/State/Processor/CommandProcessor.php b/src/State/Processor/CommandProcessor.php new file mode 100644 index 0000000..355a27b --- /dev/null +++ b/src/State/Processor/CommandProcessor.php @@ -0,0 +1,8 @@ +