PHP Class Flarum\Api\Controller\CreateDiscussionController

Inheritance: extends AbstractCreateController
Exibir arquivo Open project: flarum/core

Public Properties

Property Type Description
$include
$serializer

Protected Properties

Property Type Description
$bus Illuminate\Contracts\Bus\Dispatcher
$floodgate Flarum\Core\Post\Floodgate

Public Methods

Method Description
__construct ( Illuminate\Contracts\Bus\Dispatcher $bus, Floodgate $floodgate )

Protected Methods

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

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Bus\Dispatcher $bus, Floodgate $floodgate )
$bus Illuminate\Contracts\Bus\Dispatcher
$floodgate Flarum\Core\Post\Floodgate

data() protected method

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

Property Details

$bus protected_oe property

protected Dispatcher,Illuminate\Contracts\Bus $bus
return Illuminate\Contracts\Bus\Dispatcher

$floodgate protected_oe property

protected Floodgate,Flarum\Core\Post $floodgate
return Flarum\Core\Post\Floodgate

$include public_oe property

public $include

$serializer public_oe property

public $serializer