Mercurial > hg > cmmr2012-drupal-site
comparison vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Entry.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
190 $this->data['keywords'] = $value; | 190 $this->data['keywords'] = $value; |
191 return $this; | 191 return $this; |
192 } | 192 } |
193 | 193 |
194 /** | 194 /** |
195 * Set title | |
196 * | |
197 * @param string $value | |
198 * @return Entry | |
199 * @throws Writer\Exception\InvalidArgumentException | |
200 */ | |
201 public function setItunesTitle($value) | |
202 { | |
203 if ($this->stringWrapper->strlen($value) > 255) { | |
204 throw new Writer\Exception\InvalidArgumentException('invalid parameter: "title" may only' | |
205 . ' contain a maximum of 255 characters'); | |
206 } | |
207 $this->data['title'] = $value; | |
208 return $this; | |
209 } | |
210 | |
211 /** | |
195 * Set subtitle | 212 * Set subtitle |
196 * | 213 * |
197 * @param string $value | 214 * @param string $value |
198 * @return Entry | 215 * @return Entry |
199 * @throws Writer\Exception\InvalidArgumentException | 216 * @throws Writer\Exception\InvalidArgumentException |