writeBuffer() public method

Writes the buffer containing over the connection.
public writeBuffer ( string $buffer )
$buffer string String buffer to be sent over the connection.
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function write(CompositeConnectionInterface $connection, CommandInterface $command)
 {
     $connection->writeBuffer($this->serializer->serialize($command));
 }