You are here

public function Application::setCatchExceptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Application.php \Symfony\Component\Console\Application::setCatchExceptions()

Sets whether to catch exceptions or not during commands execution.

Parameters

bool $boolean Whether to catch exceptions or not during commands execution:

File

vendor/symfony/console/Application.php, line 250

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

public function setCatchExceptions($boolean) {
  $this->catchExceptions = (bool) $boolean;
}