original_string: public function handle(CreateComponentGroupCommand $command)
      {
          $group = ComponentGroup::create([
              'name'      => $command->name,
              'order'     => $command->order,
              'collapsed' => $command->collapsed,
              'visible'   => $command->visible,
          ]);
  
          event(new ComponentGroupWasCreatedEvent($this->auth->user(), $group));
  
          return $group;
      }
code: public function handle(CreateComponentGroupCommand $command)
      {
          $group = ComponentGroup::create([
              'name'      => $command->name,
              'order'     => $command->order,
              'collapsed' => $command->collapsed,
              'visible'   => $command->visible,
          ]);
  
          event(new ComponentGroupWasCreatedEvent($this->auth->user(), $group));
  
          return $group;
      }
code_tokens: public function handle ( CreateComponentGroupCommand $ command ) { $ group = ComponentGroup :: create ( [ 'name' => $ command -> name , 'order' => $ command -> order , 'collapsed' => $ command -> collapsed , 'visible' => $ command -> visible , ] ) ; event ( new ComponentGroupWasCreatedEvent ( $ this -> auth -> user ( ) , $ group ) ) ; return $ group ; }
docstring: Handle the create component group command.
  
  @param \CachetHQ\Cachet\Bus\Commands\ComponentGroup\CreateComponentGroupCommand $command
  
  @return \CachetHQ\Cachet\Models\ComponentGroup
docstring_tokens: Handle the create component group command .