setDebug() public méthode

In debug mode, the verbosity is always {@link IO::DEBUG}.
See also: isDebug()
public setDebug ( boolean $debug ) : static
$debug boolean Set to `true` to activate the debug mode.
Résultat static The current instance.
 public function testSetDebug()
 {
     $this->assertFalse($this->config->isDebug());
     $this->config->setDebug(true);
     $this->assertTrue($this->config->isDebug());
     $this->config->setDebug(false);
     $this->assertFalse($this->config->isDebug());
 }