original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Create a new component group.
  
  @return \Illuminate\Http\JsonResponse
docstring_tokens: Create a new component group .