type = new NullProjectAttributeType(); $this->value = new NullProjectAttributeValue(); } /** * {@inheritdoc} */ public function toArray() : array { return [ 'id' => $this->id, 'project' => $this->project, 'type' => $this->type, 'value' => $this->value, ]; } /** * {@inheritdoc} */ public function jsonSerialize() : mixed { return $this->toArray(); } }