lazycancer 6年前

修改理由:

错别字

详细描述:

Thinker 通过采用白名单的方式来 应该为 Tinker

相关信息:


此投稿已在 6年前 合并。

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
4343
4444#### 命令白名单
4545
46 Thinker 通过采用白名单的方式来确定允许哪些 Artisan 命令可以在 shell 中运行。默认情况下,你可以运行 `clear-compiled` 、`down`、`env`、 `inspire`、`migrate`、 `optimize`、和 `up` 命令。如果你想要添加更多的白名单命令,可以将它们添加到 `tinker.php` 配置文件中的 `commands` 数组里:
 46Tinker 通过采用白名单的方式来确定允许哪些 Artisan 命令可以在 shell 中运行。默认情况下,你可以运行 `clear-compiled` 、`down`、`env`、 `inspire`、`migrate`、 `optimize`、和 `up` 命令。如果你想要添加更多的白名单命令,可以将它们添加到 `tinker.php` 配置文件中的 `commands` 数组里:
4747
4848   'commands' => [
4949       // App\Console\Commands\ExampleCommand::class,