public function getMessageCount()
    {
        if ($this->getResultCode() === self::RC_SUCCESS_NO_MESSAGES) {
            return 0;
        }

        $node = $this->getFirst('//epp:epp/epp:response/epp:msgQ');
        if ($node === null) {
            return null;
        }

        return (int) $node->getAttribute('count');
    }
public function getMessageCount()
    {
        if ($this->getResultCode() === self::RC_SUCCESS_NO_MESSAGES) {
            return 0;
        }

        $node = $this->getFirst('//epp:epp/epp:response/epp:msgQ');
        if ($node === null) {
            return null;
        }

        return (int) $node->getAttribute('count');
    }
public function getMessageCount ( ) { if ( $ this -> getResultCode ( ) === self :: RC_SUCCESS_NO_MESSAGES ) { return 0 ; } $ node = $ this -> getFirst ( '//epp:epp/epp:response/epp:msgQ' ) ; if ( $ node === null ) { return null ; } return ( int ) $ node -> getAttribute ( 'count' ) ; }
Number of messages that exist in the queue.

@return int|null
Number of messages that exist in the queue .