Property | Type | Description | |
---|---|---|---|
$discussions | |||
$gambits | |||
$posts |
Method | Description | |
---|---|---|
__construct ( |
||
search ( |
Method | Description | |
---|---|---|
loadRelevantPosts ( Illuminate\Database\Eloquent\Collection $discussions, |
Load relevant posts onto each discussion using information from the search. |
public __construct ( |
||
$gambits | ||
$discussions | ||
$posts |
protected loadRelevantPosts ( Illuminate\Database\Eloquent\Collection $discussions, |
||
$discussions | Illuminate\Database\Eloquent\Collection | |
$search |
public search ( |
||
$criteria | ||
$limit | integer | null | |
$offset | integer | |
$load | array | An array of relationships to load on the results. |
return |
protected DiscussionRepository,Flarum\Core\Repository $discussions | ||
return |
protected GambitManager,Flarum\Core\Search $gambits | ||
return |