public function Entry::setItunesExplicit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Entry.php \Zend\Feed\Writer\Extension\ITunes\Entry::setItunesExplicit()
Set "explicit" flag
Parameters
bool $value:
Return value
Throws
Writer\Exception\InvalidArgumentException
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Extension/ ITunes/ Entry.php, line 153
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;
}