Flarum\Core\Command\DeleteGroup::__construct PHP Method

__construct() public method

public __construct ( integer $groupId, User $actor, array $data = [] )
$groupId integer The ID of the group to delete.
$actor Flarum\Core\User The user performing the action.
$data array Any other group input associated with the action. This is unused by default, but may be used by extensions.
    public function __construct($groupId, User $actor, array $data = [])
    {
        $this->groupId = $groupId;
        $this->actor = $actor;
        $this->data = $data;
    }
DeleteGroup