Returns whether the user may be asked for input.
public isInteractive ( ) : boolean | ||
return | boolean | Returns `true` if the user may be asked for input and `false` otherwise. |
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()); }
/** * Returns whether the user may be asked for input. * * @return bool Returns `true` if the user may be asked for input and * `false` otherwise. */ public function isInteractive() { return $this->input->isInteractive(); }