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

Method writeFieldBegin

lib/php/lib/Protocol/TJSONProtocol.php:493–498  ·  view source on GitHub ↗
($fieldName, $fieldType, $fieldId)

Source from the content-addressed store, hash-verified

491 }
492
493 public function writeFieldBegin($fieldName, $fieldType, $fieldId)
494 {
495 $this->writeJSONInteger($fieldId);
496 $this->writeJSONObjectStart();
497 $this->writeJSONString($this->getTypeNameForTypeID($fieldType));
498 }
499
500 public function writeFieldEnd()
501 {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected