log->getId(); } /** * The type of action that performed the recorded changes. */ public function getAction(): ?string { return $this->log->getAction(); } /** * The type of the recorded resource. */ public function getResource(): string { return $this->shortName; } /** * The ID of the recorded resource. */ public function getResourceId(): int { return $this->log->getObjectId(); } /** * The version number for this specific resource. */ public function getResourceVersion(): ?int { return $this->log->getVersion(); } /** * The changed resource data, i.e the new values of the changed properties. */ public function getResourceChanges() { return $this->log->getData(); } /** * The date at which this version was created. */ public function getDateCreated(): ?\DateTimeInterface { return $this->log->getLoggedAt(); } }