You are here

public function Feed::setItunesSubtitle 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::setItunesSubtitle()

Set feed subtitle

Parameters

string $value:

Return value

Feed

Throws

Writer\Exception\InvalidArgumentException

File

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

Class

Feed

Namespace

Zend\Feed\Writer\Extension\ITunes

Code

public function setItunesSubtitle($value) {
  if ($this->stringWrapper
    ->strlen($value) > 255) {
    throw new Writer\Exception\InvalidArgumentException('invalid parameter: "subtitle" may only' . ' contain a maximum of 255 characters');
  }
  $this->data['subtitle'] = $value;
  return $this;
}