X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FReadline%2FHoaConsole.php;fp=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FReadline%2FHoaConsole.php;h=0000000000000000000000000000000000000000;hp=1ef7ac9994a848f3729d1fd0f4015f7f58f23fbd;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/psy/psysh/src/Psy/Readline/HoaConsole.php b/vendor/psy/psysh/src/Psy/Readline/HoaConsole.php deleted file mode 100644 index 1ef7ac999..000000000 --- a/vendor/psy/psysh/src/Psy/Readline/HoaConsole.php +++ /dev/null @@ -1,107 +0,0 @@ -hoaReadline = new HoaReadline(); - } - - /** - * {@inheritdoc} - */ - public function addHistory($line) - { - $this->hoaReadline->addHistory($line); - - return true; - } - - /** - * {@inheritdoc} - */ - public function clearHistory() - { - $this->hoaReadline->clearHistory(); - - return true; - } - - /** - * {@inheritdoc} - */ - public function listHistory() - { - $i = 0; - $list = array(); - while (($item = $this->hoaReadline->getHistory($i++)) !== null) { - $list[] = $item; - } - - return $list; - } - - /** - * {@inheritdoc} - */ - public function readHistory() - { - return true; - } - - /** - * {@inheritdoc} - * - * @throws BreakException if user hits Ctrl+D - * - * @return string - */ - public function readline($prompt = null) - { - return $this->hoaReadline->readLine($prompt); - } - - /** - * {@inheritdoc} - */ - public function redisplay() - { - // noop - } - - /** - * {@inheritdoc} - */ - public function writeHistory() - { - return true; - } -}