public function getWriter()
{
return $this->writer;
}
/** * {@inheritdoc} */ public function writeTo(\Protobuf\WriteContext $context) { $stream = $context->getStream(); $writer = $context->getWriter(); $sizeContext = $context->getComputeSizeContext(); if ($this->extensions !== null) { $this->extensions->writeTo($context); } return $stream; }