PhpAmqpLib/Connection/AbstractConnection.php
protected function connection_start($args)
    {
        $this->version_major = $args->read_octet();
        $this->version_minor = $args->read_octet();
        $this->server_properties = $args->read_table();
        $this->mechanisms = explode(' ', $args->read_longstr());
        $this->locales = explode(' ', $args->read_longstr());

        $this->debug->debug_connection_start(
            $this->version_major,
            $this->version_minor,
            $this->server_properties,
            $this->mechanisms,
            $this->locales
        );
    }
protected function connection_start($args)
    {
        $this->version_major = $args->read_octet();
        $this->version_minor = $args->read_octet();
        $this->server_properties = $args->read_table();
        $this->mechanisms = explode(' ', $args->read_longstr());
        $this->locales = explode(' ', $args->read_longstr());

        $this->debug->debug_connection_start(
            $this->version_major,
            $this->version_minor,
            $this->server_properties,
            $this->mechanisms,
            $this->locales
        );
    }
protected function connection_start ( $ args ) { $ this -> version_major = $ args -> read_octet ( ) ; $ this -> version_minor = $ args -> read_octet ( ) ; $ this -> server_properties = $ args -> read_table ( ) ; $ this -> mechanisms = explode ( ' ' , $ args -> read_longstr ( ) ) ; $ this -> locales = explode ( ' ' , $ args -> read_longstr ( ) ) ; $ this -> debug -> debug_connection_start ( $ this -> version_major , $ this -> version_minor , $ this -> server_properties , $ this -> mechanisms , $ this -> locales ) ; }
Starts connection negotiation

@param AMQPReader $args
Starts connection negotiation