public function setTransport($transport)
    {
        if (! ($transport instanceof LibBaseDispatcherResponseTransportAbstract)) {

            if (is_string($transport) && strpos($transport, '.') === false) {
                $identifier = 'com:base.dispatcher.response.transport.'.$transport;
            } else {
                $identifier = $this->getIdentifier($transport);
            }

            register_default(array(
                'identifier' => $identifier,
                'default' => array('ComBaseDispatcherResponseTransportDefault')
            ));

            $transport = $identifier;
        }

        $this->_transport = $transport;

        return $this;
    }
public function setTransport($transport)
    {
        if (! ($transport instanceof LibBaseDispatcherResponseTransportAbstract)) {

            if (is_string($transport) && strpos($transport, '.') === false) {
                $identifier = 'com:base.dispatcher.response.transport.'.$transport;
            } else {
                $identifier = $this->getIdentifier($transport);
            }

            register_default(array(
                'identifier' => $identifier,
                'default' => array('ComBaseDispatcherResponseTransportDefault')
            ));

            $transport = $identifier;
        }

        $this->_transport = $transport;

        return $this;
    }
public function setTransport ( $ transport ) { if ( ! ( $ transport instanceof LibBaseDispatcherResponseTransportAbstract ) ) { if ( is_string ( $ transport ) && strpos ( $ transport , '.' ) === false ) { $ identifier = 'com:base.dispatcher.response.transport.' . $ transport ; } else { $ identifier = $ this -> getIdentifier ( $ transport ) ; } register_default ( array ( 'identifier' => $ identifier , 'default' => array ( 'ComBaseDispatcherResponseTransportDefault' ) ) ) ; $ transport = $ identifier ; } $ this -> _transport = $ transport ; return $ this ; }
Set the transport object.

@param mixed ${property_name}

@return LibBaseDispatcherResponse
Set the transport object .