You are here

public function Feed::setItunesSummary in Zircon Profile 8

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

Set feed summary

Parameters

string $value:

Return value

Feed

Throws

Writer\Exception\InvalidArgumentException

File

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

Class

Feed

Namespace

Zend\Feed\Writer\Extension\ITunes

Code

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