Phrozn/Runner/CommandLine/Callback/Base.php
public function readLine()
    {
        if (null !== $this->unitTestData) {
            return $this->unitTestData;
        } else {
            $outputter = new PlainOutputter();
            $reader = new Reader();
            return $reader
                ->setOutputter($outputter)
                ->readLine("Type 'yes' to continue: ");
        }
    }
public function readLine()
    {
        if (null !== $this->unitTestData) {
            return $this->unitTestData;
        } else {
            $outputter = new PlainOutputter();
            $reader = new Reader();
            return $reader
                ->setOutputter($outputter)
                ->readLine("Type 'yes' to continue: ");
        }
    }
public function readLine ( ) { if ( null !== $ this -> unitTestData ) { return $ this -> unitTestData ; } else { $ outputter = new PlainOutputter ( ) ; $ reader = new Reader ( ) ; return $ reader -> setOutputter ( $ outputter ) -> readLine ( "Type 'yes' to continue: " ) ; } }
Read-line either from STDIN or mock unit test data

@return string
Read - line either from STDIN or mock unit test data