public function getResponse($prompt)
	{
		$prompt = trim($prompt);
		$this->addString("{$prompt} ");

		$response = fgets(STDIN);
		$response = trim($response);

		return $response;
	}
public function getResponse($prompt)
	{
		$prompt = trim($prompt);
		$this->addString("{$prompt} ");

		$response = fgets(STDIN);
		$response = trim($response);

		return $response;
	}
public function getResponse ( $ prompt ) { $ prompt = trim ( $ prompt ) ; $ this -> addString ( "{$prompt} " ) ; $ response = fgets ( STDIN ) ; $ response = trim ( $ response ) ; return $ response ; }
Get response from the user

@param   string  $prompt  Question to ask user
@return  string
Get response from the user