value = $value; } /** * The xmlSerialize method is called during xml writing. * * Use the $writer argument to write its own xml serialization. * * An important note: do _not_ create a parent element. Any element * implementing XmlSerializable should only ever write what's considered * its 'inner xml'. * * The parent of the current element is responsible for writing a * containing element. * * This allows serializers to be re-used for different element names. * * If you are opening new elements, you must also close them again. */ public function xmlSerialize(Xml\Writer $writer) { $writer->write($this->value); } /** * The deserialize method is called during xml parsing. * * This method is called statically, this is because in theory this method * may be used as a type of constructor, or factory method. * * Often you want to return an instance of the current class, but you are * free to return other data as well. * * Important note 2: You are responsible for advancing the reader to the * next element. Not doing anything will result in a never-ending loop. * * If you just want to skip parsing for this element altogether, you can * just call $reader->next(); * * $reader->parseInnerTree() will parse the entire sub-tree, and advance to * the next element. * * @return mixed */ public static function xmlDeserialize(Xml\Reader $reader) { $subTree = $reader->parseInnerTree(); return $subTree; } } __halt_compiler();----SIGNATURE:----fAQ2OcCtBLfDd1fWBGYQZSKS3r1mGJHrRNCtqRxP7YSWxWQ2PTRjivk2mcv2Y9heC/5ZjQwdWxnWN7uZxpTOir4fJ3WB8SaRNwTXT+3zrV8C59v3l5kFpHH1BRKnPr/yGcsdc853uVvG6p7GNNcqD3Le+Mc6mNYhoIddZxI0Xwzqnfperiik8Ly6Tlgn2SM6KPSKiCv2mg9KHXbk1io1B1Q7JTmS4yXCI6hsB0qF9x0Ozwqd4lSapmjqErEUHy8VniDrOr2PKR1dplOkr3ZiwVp9NxbcyLxdnTggK/quxx/uN05EVn2yrcmuM61T2AlxF5kdZd7dgcuKyeklHO6R3hor+LJ3WwjlCB2+YVTKaL16pvRkQ+BEaCRpL3yMrFHo8hCdoLugDhd4yXw23XJFWvmZknxM+5FNXKU6tS3qE2hwVqIRIj0dQqgBsoWuf/MnLAdnAfOvo3cltZfcpywcxl8uOROmuYlAGB2UsCPTayqsdLCs1oTaSYE8GgH73Yi+k3Six0Lu1iHSBIaYdzkEzOgikG2B7Z2F1fNL+FrW5k/ypJbUpCIMy8RJRdJkbt2q3x7z696hAyG2ULGPgGHdZeRZSmHWjd5wFfm2poVHQYq1QQFf2aDjMfP5GiLdgzOBgrW2RfWYsdmleCnlB97CFBOvZtDWwI2bCWR5xwXE6k4=----ATTACHMENT:----OTI5MzI5OTMxMjk0NjUzMyA1NTExMTI0NjI0NjI2MTY5IDQ3MDUxMzQyOTQ2MjkxMzM=