public function setRequest(CNabuHTTPRequest $nb_request) : CNabuProviderInterfaceFactoryAdapter
    {
        if ($this->discoverInterface()) {
            $this->nb_interface->setRequest($nb_request);
        } else {
            throw new ENabuProviderException(ENabuProviderException::ERROR_INTERFACE_NOT_SETTED);
        }

        return $this;
    }
public function setRequest(CNabuHTTPRequest $nb_request) : CNabuProviderInterfaceFactoryAdapter
    {
        if ($this->discoverInterface()) {
            $this->nb_interface->setRequest($nb_request);
        } else {
            throw new ENabuProviderException(ENabuProviderException::ERROR_INTERFACE_NOT_SETTED);
        }

        return $this;
    }
public function setRequest ( CNabuHTTPRequest $ nb_request ) : CNabuProviderInterfaceFactoryAdapter { if ( $ this -> discoverInterface ( ) ) { $ this -> nb_interface -> setRequest ( $ nb_request ) ; } else { throw new ENabuProviderException ( ENabuProviderException :: ERROR_INTERFACE_NOT_SETTED ) ; } return $ this ; }
Pass Request instance to managed interface.
@param CNabuHTTPRequest $nb_request Request instance to be passed.
@return CNabuProviderInterfaceFactoryAdapter Returns self pointer to grant chained setters.
@throws ENabuProviderException Raises an exception if the Interface is not setted.
Pass Request instance to managed interface .