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

__construct() public method

public __construct ( integer $groupId, User $actor, array $data )
$groupId integer The ID of the group to edit.
$actor Flarum\Core\User The user performing the action.
$data array The attributes to update on the post.
    public function __construct($groupId, User $actor, array $data)
    {
        $this->groupId = $groupId;
        $this->actor = $actor;
        $this->data = $data;
    }
EditGroup