getFriendlyName()]; } public function jsonSerialize(): array { return [ 'type' => $this->getType(), 'id' => $this->getId(), 'valid' => $this->valid, 'friendlyName' => $this->getFriendlyName(), 'fullHierarchyNames' => $this->getFullHierarchyNames(), ]; } }