setDebug() публичный Метод

In debug mode, the verbosity is always {@link IO::DEBUG}.
См. также: isDebug()
public setDebug ( boolean $debug ) : static
$debug boolean Set to `true` to activate the debug mode.
Результат static The current instance.
Пример #1
0
 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());
 }