public function serialize() { // Only store the definition, not external objects or derived data. return serialize($this ->getExportProperties()); }