PHP Class Flarum\Core\Command\DeleteGroupHandler

Inheritance: use trait Flarum\Core\Support\DispatchEventsTrait, use trait Flarum\Core\Access\AssertPermissionTrait
Mostrar archivo Open project: flarum/core

Protected Properties

Property Type Description
$groups Flarum\Core\Repository\GroupRepository

Public Methods

Method Description
__construct ( Illuminate\Contracts\Events\Dispatcher $events, GroupRepository $groups )
handle ( DeleteGroup $command ) : Group

Method Details

__construct() public method

public __construct ( Illuminate\Contracts\Events\Dispatcher $events, GroupRepository $groups )
$events Illuminate\Contracts\Events\Dispatcher
$groups Flarum\Core\Repository\GroupRepository

handle() public method

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

Property Details

$groups protected_oe property

protected GroupRepository,Flarum\Core\Repository $groups
return Flarum\Core\Repository\GroupRepository