comparison vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Entry.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents 5311817fb629
children 12f9dff5fda9
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
69 69
70 /** 70 /**
71 * Set a block value of "yes" or "no". You may also set an empty string. 71 * Set a block value of "yes" or "no". You may also set an empty string.
72 * 72 *
73 * @param string 73 * @param string
74 * @return Entry
75 * @throws Writer\Exception\InvalidArgumentException 74 * @throws Writer\Exception\InvalidArgumentException
76 */ 75 */
77 public function setItunesBlock($value) 76 public function setItunesBlock($value)
78 { 77 {
79 if (! ctype_alpha($value) && strlen($value) > 0) { 78 if (! ctype_alpha($value) && strlen($value) > 0) {
228 227
229 /** 228 /**
230 * Set entry image (icon) 229 * Set entry image (icon)
231 * 230 *
232 * @param string $value 231 * @param string $value
233 * @return Feed 232 * @return Entry
234 * @throws Writer\Exception\InvalidArgumentException 233 * @throws Writer\Exception\InvalidArgumentException
235 */ 234 */
236 public function setItunesImage($value) 235 public function setItunesImage($value)
237 { 236 {
238 if (! is_string($value) || ! Uri::factory($value)->isValid()) { 237 if (! is_string($value) || ! Uri::factory($value)->isValid()) {