public function setDataFromResource($data) { $this->indices = \Pimcore\Tool\Serialize::unserialize($data); return $this; }