public function Feed::setItunesExplicit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Feed.php \Zend\Feed\Writer\Extension\ITunes\Feed::setItunesExplicit()
Set "explicit" flag
Parameters
bool $value:
Return value
Throws
Writer\Exception\InvalidArgumentException
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Extension/ ITunes/ Feed.php, line 215
Class
Namespace
Zend\Feed\Writer\Extension\ITunesCode
public function setItunesExplicit($value) {
if (!in_array($value, [
'yes',
'no',
'clean',
])) {
throw new Writer\Exception\InvalidArgumentException('invalid parameter: "explicit" may only' . ' be one of "yes", "no" or "clean"');
}
$this->data['explicit'] = $value;
return $this;
}