public function putToInputStream($input) { fputs($this->getInputStream(), $input); }
private function runCommandWithInteractiveInput($name, $input) { $input = str_replace('[enter]', "\n", $input); $this->tester->putToInputStream($input); $this->tester->run($name, array('interactive' => true, 'decorated' => false)); }