MCPcopy Create free account
hub / github.com/apache/thrift / writeMapBegin

Method writeMapBegin

lib/php/lib/Protocol/TJSONProtocol.php:509–516  ·  view source on GitHub ↗
($keyType, $valType, $size)

Source from the content-addressed store, hash-verified

507 }
508
509 public function writeMapBegin($keyType, $valType, $size)
510 {
511 $this->writeJSONArrayStart();
512 $this->writeJSONString($this->getTypeNameForTypeID($keyType));
513 $this->writeJSONString($this->getTypeNameForTypeID($valType));
514 $this->writeJSONInteger($size);
515 $this->writeJSONObjectStart();
516 }
517
518 public function writeMapEnd()
519 {

Callers

nothing calls this directly

Calls 5

writeJSONArrayStartMethod · 0.95
writeJSONStringMethod · 0.95
getTypeNameForTypeIDMethod · 0.95
writeJSONIntegerMethod · 0.95
writeJSONObjectStartMethod · 0.95

Tested by

no test coverage detected