PHP Class Flarum\Core\Command\PostReplyHandler

Inheritance: use trait Flarum\Core\Support\DispatchEventsTrait, use trait Flarum\Core\Access\AssertPermissionTrait
Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$discussions Flarum\Core\Repository\DiscussionRepository
$notifications Flarum\Core\Notification\NotificationSyncer
$validator Flarum\Core\Validator\PostValidator

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Events\Dispatcher $events, DiscussionRepository $discussions, NotificationSyncer $notifications, PostValidator $validator )
handle ( PostReply $command ) : CommentPost

Method Details

__construct() public méthode

public __construct ( Illuminate\Contracts\Events\Dispatcher $events, DiscussionRepository $discussions, NotificationSyncer $notifications, PostValidator $validator )
$events Illuminate\Contracts\Events\Dispatcher
$discussions Flarum\Core\Repository\DiscussionRepository
$notifications Flarum\Core\Notification\NotificationSyncer
$validator Flarum\Core\Validator\PostValidator

handle() public méthode

public handle ( PostReply $command ) : CommentPost
$command PostReply
Résultat Flarum\Core\Post\CommentPost

Property Details

$discussions protected_oe property

protected DiscussionRepository,Flarum\Core\Repository $discussions
Résultat Flarum\Core\Repository\DiscussionRepository

$notifications protected_oe property

protected NotificationSyncer,Flarum\Core\Notification $notifications
Résultat Flarum\Core\Notification\NotificationSyncer

$validator protected_oe property

protected PostValidator,Flarum\Core\Validator $validator
Résultat Flarum\Core\Validator\PostValidator