waylaidwanderer / PHP-SteamCommunity

A PHP library for interacting with the Steam Community website (steamcommunity.com)
MIT License
76 stars 41 forks source link

[Question] What is "ask" #47

Closed v0rix closed 8 years ago

v0rix commented 8 years ago

Hi, I see in the "ExampleBot.php", this lines:

$authCode = ask('Enter 2FA code: ');
$authCode = ask('Enter Steam Guard code from email: ');
$captchaCode = ask('Enter captcha (' . $steam->getCaptchaLink() . '): ');

What is the function "ask()" and where it is.

Regards

waylaidwanderer commented 8 years ago

https://github.com/waylaidwanderer/PHP-SteamCommunity/blob/master/Examples/ExampleBot.php#L76

Just a function that reads command line input.