src/Bunny/Protocol/ProtocolWriter.php
public function appendArray(array $value, Buffer $originalBuffer)
    {
        $buffer = new Buffer();

        foreach ($value as $v) {
            $this->appendFieldValue($v, $buffer);
        }

        $originalBuffer->appendUint32($buffer->getLength());
        $originalBuffer->append($buffer);
    }
public function appendArray(array $value, Buffer $originalBuffer)
    {
        $buffer = new Buffer();

        foreach ($value as $v) {
            $this->appendFieldValue($v, $buffer);
        }

        $originalBuffer->appendUint32($buffer->getLength());
        $originalBuffer->append($buffer);
    }
public function appendArray ( array $ value , Buffer $ originalBuffer ) { $ buffer = new Buffer ( ) ; foreach ( $ value as $ v ) { $ this -> appendFieldValue ( $ v , $ buffer ) ; } $ originalBuffer -> appendUint32 ( $ buffer -> getLength ( ) ) ; $ originalBuffer -> append ( $ buffer ) ; }
Appends AMQP array to buffer.

@param array $value
@param Buffer $originalBuffer
Appends AMQP array to buffer .