You are here

public function Feed::setItunesNewFeedUrl in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Feed.php \Zend\Feed\Writer\Extension\ITunes\Feed::setItunesNewFeedUrl()

Set new feed URL

Parameters

string $value:

Return value

Feed

Throws

Writer\Exception\InvalidArgumentException

File

vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Feed.php, line 255

Class

Feed

Namespace

Zend\Feed\Writer\Extension\ITunes

Code

public function setItunesNewFeedUrl($value) {
  if (!Uri::factory($value)
    ->isValid()) {
    throw new Writer\Exception\InvalidArgumentException('invalid parameter: "newFeedUrl" may only' . ' be a valid URI/IRI');
  }
  $this->data['newFeedUrl'] = $value;
  return $this;
}