错别字
相关信息:
- 类型:文档文章
- 文章: Artisan 命令行
- 文档: 《Laravel 5.8 中文文档(5.8)》
此投稿已在 6年前 合并。
内容修改:
Old | New | Differences |
---|---|---|
43 | 43 | |
44 | 44 | #### 命令白名单 |
45 | 45 | |
46 | T | |
46 | Tinker 通过采用白名单的方式来确定允许哪些 Artisan 命令可以在 shell 中运行。默认情况下,你可以运行 `clear-compiled` 、`down`、`env`、 `inspire`、`migrate`、 `optimize`、和 `up` 命令。如果你想要添加更多的白名单命令,可以将它们添加到 `tinker.php` 配置文件中的 `commands` 数组里: | |
47 | 47 | |
48 | 48 | 'commands' => [ |
49 | 49 | // App\Console\Commands\ExampleCommand::class, |