Phrozn/Runner/CommandLine/Reader.php
public function readLine($prompt)
    {
        $this
            ->getOutputter()
            ->stdout($prompt);
        $out = fgets($this->getHandle());
        $this->getOutputter()->stdout("\n");
        return rtrim($out);
    }
public function readLine($prompt)
    {
        $this
            ->getOutputter()
            ->stdout($prompt);
        $out = fgets($this->getHandle());
        $this->getOutputter()->stdout("\n");
        return rtrim($out);
    }
public function readLine ( $ prompt ) { $ this -> getOutputter ( ) -> stdout ( $ prompt ) ; $ out = fgets ( $ this -> getHandle ( ) ) ; $ this -> getOutputter ( ) -> stdout ( "\n" ) ; return rtrim ( $ out ) ; }
Get line from standard input

@param string $prompt Input prompt

@return string
Get line from standard input