Property | Type | Description | |
---|---|---|---|
$include | |||
$optionalInclude | |||
$serializer |
Property | Type | Description | |
---|---|---|---|
$discussions | |||
$posts |
Method | Description | |
---|---|---|
__construct ( |
Method | Description | |
---|---|---|
data ( Psr\Http\Message\ServerRequestInterface $request, |
Method | Description | |
---|---|---|
getPostRelationships ( array $include ) : array | ||
getPostsOffset ( Psr\Http\Message\ServerRequestInterface $request, |
||
includePosts ( |
||
loadPostIds ( |
||
loadPosts ( |
public __construct ( |
||
$discussions | ||
$posts |
protected data ( Psr\Http\Message\ServerRequestInterface $request, |
||
$request | Psr\Http\Message\ServerRequestInterface | |
$document |
protected DiscussionRepository,Flarum\Core\Repository $discussions | ||
return |
protected PostRepository,Flarum\Core\Repository $posts | ||
return |