Predis\Connection\CompositeConnectionInterface::writeBuffer PHP Method

writeBuffer() public method

Writes the buffer containing over the connection.
public writeBuffer ( string $buffer )
$buffer string String buffer to be sent over the connection.
    public function writeBuffer($buffer);

Usage Example

Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function write(CompositeConnectionInterface $connection, CommandInterface $command)
 {
     $connection->writeBuffer($this->serializer->serialize($command));
 }