这使得即使正在运行的父流程实例也可以选取这些子流程的较新版本。
This allows even running instances of the parent process to pick up newer versions of these subprocesses.
这时再创建一个 convertGame.php PHP 脚本,用于随机地选取文件并读取数据,然后创建一个返回给表单的实例。
You'll create a PHP script, convertGame.php, which chooses a file at random and reads in the data to create an instance to return to the form.
select_card 方法随机选取一张卡片,并将它赋给 @current_card 实例变量。
A select_card method picks a card at random and assigns it the @current_card instance variable.
应用推荐