PHP Class Flarum\Api\Controller\ListNotificationsController

Inheritance: extends AbstractCollectionController
ファイルを表示 Open project: flarum/core

Public Properties

Property Type Description
$include
$limit
$serializer

Protected Properties

Property Type Description
$notifications Flarum\Core\Repository\NotificationRepository

Public Methods

Method Description
__construct ( NotificationRepository $notifications )

Protected Methods

Method Description
data ( Psr\Http\Message\ServerRequestInterface $request, Document $document )

Private Methods

Method Description
loadSubjectDiscussions ( array $notifications )

Method Details

__construct() public method

public __construct ( NotificationRepository $notifications )
$notifications Flarum\Core\Repository\NotificationRepository

data() protected method

protected data ( Psr\Http\Message\ServerRequestInterface $request, Document $document )
$request Psr\Http\Message\ServerRequestInterface
$document Tobscure\JsonApi\Document

Property Details

$include public_oe property

public $include

$limit public_oe property

public $limit

$notifications protected_oe property

protected NotificationRepository,Flarum\Core\Repository $notifications
return Flarum\Core\Repository\NotificationRepository

$serializer public_oe property

public $serializer