public function AbstractRenderer::ignoreExceptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/Renderer/AbstractRenderer.php \Zend\Feed\Writer\Renderer\AbstractRenderer::ignoreExceptions()
Indicate whether or not to ignore exceptions
Parameters
bool $bool:
Return value
Throws
Writer\Exception\InvalidArgumentException
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Renderer/ AbstractRenderer.php, line 147
Class
Namespace
Zend\Feed\Writer\RendererCode
public function ignoreExceptions($bool = true) {
if (!is_bool($bool)) {
throw new Writer\Exception\InvalidArgumentException('Invalid parameter: $bool. Should be TRUE or FALSE (defaults to TRUE if null)');
}
$this->ignoreExceptions = $bool;
return $this;
}