PHP Class Flarum\Core\Command\CreateGroupHandler

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

Protected Properties

Свойство Type Description
$validator Flarum\Core\Validator\GroupValidator

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Events\Dispatcher $events, GroupValidator $validator )
handle ( CreateGroup $command ) : Group

Method Details

__construct() public méthode

public __construct ( Illuminate\Contracts\Events\Dispatcher $events, GroupValidator $validator )
$events Illuminate\Contracts\Events\Dispatcher
$validator Flarum\Core\Validator\GroupValidator

handle() public méthode

public handle ( CreateGroup $command ) : Group
$command CreateGroup
Résultat Flarum\Core\Group

Property Details

$validator protected_oe property

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