PHP Class Flarum\Core\Command\CreateGroupHandler

Inheritance: use trait Flarum\Core\Support\DispatchEventsTrait, use trait Flarum\Core\Access\AssertPermissionTrait
ファイルを表示 Open project: flarum/core

Protected Properties

Property Type Description
$validator Flarum\Core\Validator\GroupValidator

Public Methods

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

Method Details

__construct() public method

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

handle() public method

public handle ( CreateGroup $command ) : Group
$command CreateGroup
return Flarum\Core\Group

Property Details

$validator protected_oe property

protected GroupValidator,Flarum\Core\Validator $validator
return Flarum\Core\Validator\GroupValidator