root->getUserFolder($this->getUserId())->getFirstNodeById($this->getFileId());
if (!$node) {
throw new NodeNotFoundException();
}
return $node;
}
protected function getter(string $name): mixed {
return $this->reminder->getter($name);
}
public function __call(string $methodName, array $args) {
return $this->reminder->__call($methodName, $args);
}
public function jsonSerialize(): array {
return [
'userId' => $this->getUserId(),
'fileId' => $this->getFileId(),
'path' => $this->getNode()->getPath(),
'dueDate' => $this->getDueDate()->format(DateTimeInterface::ATOM), // ISO 8601
'updatedAt' => $this->getUpdatedAt()->format(DateTimeInterface::ATOM), // ISO 8601
'createdAt' => $this->getCreatedAt()->format(DateTimeInterface::ATOM), // ISO 8601
'notified' => $this->getNotified(),
];
}
}
ption value='release/v1.21'>release/v1.21
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD: https://github.com/go-gitea/gitea