Skip to content

Commit

Permalink
modify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BardoQi committed Oct 7, 2020
1 parent 587cddf commit 3267603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ArticlePresenter extents Presenter
接下来,你就可以从控制器中调用:

```php
return ArticlePresenter::getArticleList($where);
return ArticlePresenter::of()->getArticleList($where);
```

并且你也可以定义Mapping:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class ArticlePresenter extents Presenter
Then you can call from controller:

```php
return ArticlePresenter::getArticleList($where);
return ArticlePresenter::of()->getArticleList($where);
```

And you also could define the mapping in the property:
Expand Down

0 comments on commit 3267603

Please sign in to comment.