public function readNext(SerializationStreamReader $reader) { return $reader->readChar(); }
/** * Enter description here... * @throws SerializationException * * @return Character */ public static function instantiate(SerializationStreamReader $streamReader) { return FORCE_CAST_TO_PHP_PRIMITIVE_TYPES ? $streamReader->readChar() : new Character($streamReader->readChar()); }
/** * * * @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->readChar(); } }
public static function instantiate(SerializationStreamReader $streamReader) { return new Character($streamReader->readChar()); }