You are here

public function Entry::setItunesSummary in Zircon Profile 8

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

Set summary

Parameters

string $value:

Return value

Entry

Throws

Writer\Exception\InvalidArgumentException

File

vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Entry.php, line 211

Class

Entry

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;
}