public function store()
    {
        try {
            $group = execute(new CreateComponentGroupCommand(
                Binput::get('name'),
                Binput::get('order', 0),
                Binput::get('collapsed', 0),
                Binput::get('visible', ComponentGroup::VISIBLE_AUTHENTICATED)
            ));
        } catch (QueryException $e) {
            throw new BadRequestHttpException();
        }

        return $this->item($group);
    }