/** * Enter description here... * @throws SerializationException * * @return Long */ public static function instantiate(SerializationStreamReader $streamReader) { return FORCE_CAST_TO_PHP_PRIMITIVE_TYPES ? $streamReader->readLong() : new Long($streamReader->readLong()); // return $streamReader->readLong(); }
public function readNext(SerializationStreamReader $reader) { return $reader->readLong(); }
public static function instanciate(SerializationStreamReader $streamReader) { return new Date($streamReader->readLong()); }
/** * * * @param SerializationStreamReader $streamReader * @param unknown_type $instance * @throws SerializationException */ public static function deserialize(SerializationStreamReader $streamReader, $instance) { for ($itemIndex = 0; $itemIndex < count($instance); ++$itemIndex) { $instance[$itemIndex] = $streamReader->readLong(); } }
/** * Enter description here... * * @param SerializationStreamReader $streamReader * @return long * @throws SerializationException */ public static function instantiate(SerializationStreamReader $streamReader) { $long = $streamReader->readLong(); Logger::getLogger('Date_CustomFieldSerializer')->debug("instantine date" . $long); return $long; }