public isInteractive ( ) : boolean | ||
Résultat | boolean | Returns `true` if the user may be asked for input and `false` otherwise. |
public function isInteractive()
{
return $this->interactive;
}
public function testIsInteractive() { $this->assertTrue($this->input->isInteractive()); $this->input->setInteractive(false); $this->assertFalse($this->input->isInteractive()); $this->input->setInteractive(true); $this->assertTrue($this->input->isInteractive()); }