public function setInteractive($interactive) { $this->interactive = (bool) $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()); }