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