src/Broker/Apollo/Apollo.php
public function getSubscribeFrame(
        $destination,
        $subscriptionId = null,
        $ack = 'auto',
        $selector = null,
        $durable = false
    ) {
        $frame = parent::getSubscribeFrame($destination, $subscriptionId, $ack, $selector);
        if ($this->hasClientId() && $durable) {
            $frame['persistent'] = 'true';
        }
        return $frame;
    }
public function getSubscribeFrame(
        $destination,
        $subscriptionId = null,
        $ack = 'auto',
        $selector = null,
        $durable = false
    ) {
        $frame = parent::getSubscribeFrame($destination, $subscriptionId, $ack, $selector);
        if ($this->hasClientId() && $durable) {
            $frame['persistent'] = 'true';
        }
        return $frame;
    }
public function getSubscribeFrame ( $ destination , $ subscriptionId = null , $ ack = 'auto' , $ selector = null , $ durable = false ) { $ frame = parent :: getSubscribeFrame ( $ destination , $ subscriptionId , $ ack , $ selector ) ; if ( $ this -> hasClientId ( ) && $ durable ) { $ frame [ 'persistent' ] = 'true' ; } return $ frame ; }
Apollo subscribe frame.

@param string $destination
@param string $subscriptionId
@param string $ack
@param string $selector
@param boolean $durable durable subscription
@return \Stomp\Transport\Frame
Apollo subscribe frame .