code/libraries/joomlatools/library/dispatcher/response/abstract.php
public function attachTransport($transport, $config = array())
    {
        if (!($transport instanceof KDispatcherResponseTransportInterface)) {
            $transport = $this->getTransport($transport, $config);
        }

        //Enqueue the transport handler in the command chain
        $this->_queue->enqueue($transport, $transport->getPriority());

        return $this;
    }
public function attachTransport($transport, $config = array())
    {
        if (!($transport instanceof KDispatcherResponseTransportInterface)) {
            $transport = $this->getTransport($transport, $config);
        }

        //Enqueue the transport handler in the command chain
        $this->_queue->enqueue($transport, $transport->getPriority());

        return $this;
    }
public function attachTransport ( $ transport , $ config = array ( ) ) { if ( ! ( $ transport instanceof KDispatcherResponseTransportInterface ) ) { $ transport = $ this -> getTransport ( $ transport , $ config ) ; } //Enqueue the transport handler in the command chain $ this -> _queue -> enqueue ( $ transport , $ transport -> getPriority ( ) ) ; return $ this ; }
Attach a transport handler

@param   mixed  $transport An object that implements ObjectInterface, ObjectIdentifier object
or valid identifier string
@param   array $config  An optional associative array of configuration settings
@return KDispatcherResponseAbstract
Attach a transport handler