public function getDataForResource() { return ["id" => $this->id, "type" => $this->type, "title" => $this->title, "description" => $this->description, "poster" => $this->poster]; }