PHP Class Flarum\Api\Controller\ListUsersController

Inheritance: extends AbstractCollectionController
Mostra file Open project: flarum/core

Public Properties

Property Type Description
$include
$serializer
$sortFields

Protected Properties

Property Type Description
$searcher Flarum\Core\Search\User\UserSearcher
$url Flarum\Api\UrlGenerator

Public Methods

Method Description
__construct ( Flarum\Core\Search\User\UserSearcher $searcher, UrlGenerator $url )

Protected Methods

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

Method Details

__construct() public method

public __construct ( Flarum\Core\Search\User\UserSearcher $searcher, UrlGenerator $url )
$searcher Flarum\Core\Search\User\UserSearcher
$url Flarum\Api\UrlGenerator

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

$searcher protected_oe property

protected UserSearcher,Flarum\Core\Search\User $searcher
return Flarum\Core\Search\User\UserSearcher

$serializer public_oe property

public $serializer

$sortFields public_oe property

public $sortFields

$url protected_oe property

protected UrlGenerator,Flarum\Api $url
return Flarum\Api\UrlGenerator