/**
* @return array
*/
public static function castTopicPartition(TopicPartition
$c, array
$a) { $prefix = Caster::PREFIX_VIRTUAL;
$a +=
[ $prefix.'offset' =>
$c->
getOffset(),
$prefix.'partition' =>
$c->
getPartition(),
$prefix.'topic' =>
$c->
getTopic(),
];
return $a;
} /**
* @return array
*/
public static function castMessage(Message
$c, array
$a, Stub
$stub, bool
$isNested) {