PHP Class Flarum\Event\PrepareApiData

Afficher le fichier Open project: flarum/core Class Usage Examples

Méthodes publiques

Свойство Type Description
$actor Flarum\Core\User
$controller Flarum\Api\Controller\AbstractSerializeController
$data mixed
$document Tobscure\JsonApi\Document
$request Psr\Http\Message\ServerRequestInterface

Méthodes publiques

Méthode Description
__construct ( AbstractSerializeController $controller, mixed &$data, Psr\Http\Message\ServerRequestInterface $request, Document $document )
isController ( string $controller ) : boolean

Method Details

__construct() public méthode

public __construct ( AbstractSerializeController $controller, mixed &$data, Psr\Http\Message\ServerRequestInterface $request, Document $document )
$controller Flarum\Api\Controller\AbstractSerializeController
$data mixed
$request Psr\Http\Message\ServerRequestInterface
$document Tobscure\JsonApi\Document

isController() public méthode

public isController ( string $controller ) : boolean
$controller string
Résultat boolean

Property Details

$actor public_oe property

public User,Flarum\Core $actor
Résultat Flarum\Core\User

$controller public_oe property

public AbstractSerializeController,Flarum\Api\Controller $controller
Résultat Flarum\Api\Controller\AbstractSerializeController

$data public_oe property

public mixed $data
Résultat mixed

$document public_oe property

public Document,Tobscure\JsonApi $document
Résultat Tobscure\JsonApi\Document

$request public_oe property

public ServerRequestInterface,Psr\Http\Message $request
Résultat Psr\Http\Message\ServerRequestInterface