original_string: public function setCloud($uri, $procedure, $protocol)
      {
          if (is_string($uri) && Zend_Uri_Http::check($uri)) {
              $uri = Zend_Uri::factory($uri);
          }
          if (!$uri instanceof Zend_Uri_Http) {
              /**
               * @see Zend_Feed_Builder_Exception
               */
              require_once 'Zend/Feed/Builder/Exception.php';
              throw new Zend_Feed_Builder_Exception('Passed parameter is not a valid HTTP URI');
          }
          if (!$uri->getPort()) {
              $uri->setPort(80);
          }
          $this->offsetSet('cloud', array('uri' => $uri,
                                          'procedure' => $procedure,
                                          'protocol' => $protocol));
          return $this;
      }
code: public function setCloud($uri, $procedure, $protocol)
      {
          if (is_string($uri) && Zend_Uri_Http::check($uri)) {
              $uri = Zend_Uri::factory($uri);
          }
          if (!$uri instanceof Zend_Uri_Http) {
              /**
               * @see Zend_Feed_Builder_Exception
               */
              require_once 'Zend/Feed/Builder/Exception.php';
              throw new Zend_Feed_Builder_Exception('Passed parameter is not a valid HTTP URI');
          }
          if (!$uri->getPort()) {
              $uri->setPort(80);
          }
          $this->offsetSet('cloud', array('uri' => $uri,
                                          'procedure' => $procedure,
                                          'protocol' => $protocol));
          return $this;
      }
code_tokens: public function setCloud ( $ uri , $ procedure , $ protocol ) { if ( is_string ( $ uri ) && Zend_Uri_Http :: check ( $ uri ) ) { $ uri = Zend_Uri :: factory ( $ uri ) ; } if ( ! $ uri instanceof Zend_Uri_Http ) { /**
               * @see Zend_Feed_Builder_Exception
               */ require_once 'Zend/Feed/Builder/Exception.php' ; throw new Zend_Feed_Builder_Exception ( 'Passed parameter is not a valid HTTP URI' ) ; } if ( ! $ uri -> getPort ( ) ) { $ uri -> setPort ( 80 ) ; } $ this -> offsetSet ( 'cloud' , array ( 'uri' => $ uri , 'procedure' => $ procedure , 'protocol' => $ protocol ) ) ; return $ this ; }
docstring: Cloud to be notified of updates of the feed
  Ignored if atom is used
  
  @param  string|Zend_Uri_Http $uri
  @param  string               $procedure procedure to call, e.g. myCloud.rssPleaseNotify
  @param  string               $protocol  protocol to use, e.g. soap or xml-rpc
  @return Zend_Feed_Builder_Header
  @throws Zend_Feed_Builder_Exception
docstring_tokens: Cloud to be notified of updates of the feed Ignored if atom is used