/** * Sets whether to use exceptions inside the kernel. * * @param bool $useExceptions */ public function setUseExceptions($useExceptions) { $this->kernelHandler->setUseExceptions($useExceptions); }