Skip to content

Commit 0a3c457

Browse files
authored
Merge pull request #1 from A2Workspace/修改說明文件之安裝步驟
修改安裝指令
2 parents 1b379d6 + ab2fbcf commit 0a3c457

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ class ProductController extends Controller
4545

4646
protected ProductStockManager $productStockManager;
4747

48+
// We don't need the constructor anymore...
49+
4850
public function __invoke(Request $request)
4951
{
5052
$this->productService->doSomething(); // Still works!
@@ -57,6 +59,5 @@ class ProductController extends Controller
5759
此套件基於 PHP 7.4 的 `typed properties` 特性,請確保你的 PHP 更新到最新版本。
5860

5961
```bash
60-
composer config repositories.a2workspace/laravel-automount vcs https://github.com/A2Workspace/laravel-automount.git
61-
composer require "a2workspace/laravel-automount:*"
62+
composer require a2workspace/laravel-automount
6263
```

0 commit comments

Comments
 (0)