Skip to content

Commit ab94965

Browse files
author
FreedomKnight
committed
add new method in readme
1 parent aea8d95 commit ab94965

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ $post->recategorize(1, "news");
8484

8585
```
8686

87+
### hasCategories
88+
89+
You can find model which has specify categories
90+
91+
```php
92+
Post::hasCategories('News', 1)->get();
93+
```
94+
8795

8896
## Change log
8997

0 commit comments

Comments
 (0)