$this->id, 'uuid' => $this->uuid, 'title' => $this->title, 'type' => $this->type->value, 'directory' => $this->directory_id, 'path' => $this->path, 'lang' => $this->lang->getDefinition(), 'published' => ($this->status) ? 1 : 0, 'parent' => $this->document_id, 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ]; } }