Flarum\Event\GroupWillBeDeleted::__construct PHP Method

__construct() public method

public __construct ( Group $group, User $actor, array $data )
$group Flarum\Core\Group The group that will be deleted.
$actor Flarum\Core\User The user performing the action.
$data array Any user input associated with the command.
    public function __construct(Group $group, User $actor, array $data)
    {
        $this->group = $group;
        $this->actor = $actor;
        $this->data = $data;
    }
GroupWillBeDeleted