$this->id, 'name' => json_encode($this->name), 'parent' => $this->directory_id, 'order' => $this->order, 'needAuthorization' => $this->needAuthorization, 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ]; } }