| 1 | <?php |
||
| 5 | trait PostsRelationScopeTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | * |
||
| 10 | * public static $sortingOptions |
||
| 11 | */ |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Gets a list of items related to Posts for frontend use |
||
| 15 | * |
||
| 16 | * @param $query |
||
| 17 | * @param array $options Available options are "sort", "displayEmpty", "limit" |
||
| 18 | * |
||
| 19 | * @return mixed |
||
| 20 | */ |
||
| 21 | public function scopeListFrontend($query, array $options = []) |
||
| 53 | } |