diff --git a/src/Entity/Trace.php b/src/Entity/Trace.php new file mode 100644 index 0000000..2010979 --- /dev/null +++ b/src/Entity/Trace.php @@ -0,0 +1,103 @@ +client; + } + + public function setClient(?Client $client): static + { + $this->client = $client; + + return $this; + } + + public function getCommand(): ?Command + { + return $this->command; + } + + public function setCommand(?Command $command): static + { + $this->command = $command; + + return $this; + } + + public function getStatus(): ?string + { + return $this->status; + } + + public function setStatus(string $status): static + { + $this->status = $status; + + return $this; + } + + public function getOutput(): ?string + { + return $this->output; + } + + public function setOutput(?string $output): static + { + $this->output = $output; + + return $this; + } + + public function getExecutedAt(): ?\DateTimeImmutable + { + return $this->executedAt; + } + + public function setExecutedAt(\DateTimeImmutable $executedAt): static + { + $this->executedAt = $executedAt; + + return $this; + } + + public function getFinishedAt(): ?\DateTimeImmutable + { + return $this->finishedAt; + } + + public function setFinishedAt(\DateTimeImmutable $finishedAt): static + { + $this->finishedAt = $finishedAt; + + return $this; + } +} diff --git a/src/Repository/TraceRepository.php b/src/Repository/TraceRepository.php new file mode 100644 index 0000000..102fa7b --- /dev/null +++ b/src/Repository/TraceRepository.php @@ -0,0 +1,19 @@ + + */ +class TraceRepository extends AbstractRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, Trace::class); + } + +}