src/GameOfLife/Utils/Shell/ShellInputReader.php
/**
     * Reads input from the shell.
     *
     * @param String $_prompt The prompt that will be displayed in front of the input area
     *
     * @return String The input line
     */
Reads input from the shell.
@param String $_prompt The prompt that will be displayed in front of the input area

@return String The input line
Reads input from the shell . @param String $_prompt The prompt that will be displayed in front of the input area @return String The input line
public function readInput(String $_prompt): String
    {
        $inputLine = readline($_prompt);
        $inputLine = trim($inputLine);
        $this->addLineToHistory($inputLine);
        return $inputLine;
    }
public function readInput ( String $ _prompt ) : String { $ inputLine = readline ( $ _prompt ) ; $ inputLine = trim ( $ inputLine ) ; $ this -> addLineToHistory ( $ inputLine ) ; return $ inputLine ; }
Reads input from the shell.
Reads input from the shell .