original_string: protected function seedComponentGroups()
      {
          $defaultGroups = [
              [
                  'name'      => 'Websites',
                  'order'     => 1,
                  'collapsed' => 0,
                  'visible'   => ComponentGroup::VISIBLE_AUTHENTICATED,
              ], [
                  'name'      => 'Alt Three',
                  'order'     => 2,
                  'collapsed' => 1,
                  'visible'   => ComponentGroup::VISIBLE_GUEST,
              ],
          ];
  
          ComponentGroup::truncate();
  
          foreach ($defaultGroups as $group) {
              ComponentGroup::create($group);
          }
      }
code: protected function seedComponentGroups()
      {
          $defaultGroups = [
              [
                  'name'      => 'Websites',
                  'order'     => 1,
                  'collapsed' => 0,
                  'visible'   => ComponentGroup::VISIBLE_AUTHENTICATED,
              ], [
                  'name'      => 'Alt Three',
                  'order'     => 2,
                  'collapsed' => 1,
                  'visible'   => ComponentGroup::VISIBLE_GUEST,
              ],
          ];
  
          ComponentGroup::truncate();
  
          foreach ($defaultGroups as $group) {
              ComponentGroup::create($group);
          }
      }
code_tokens: protected function seedComponentGroups ( ) { $ defaultGroups = [ [ 'name' => 'Websites' , 'order' => 1 , 'collapsed' => 0 , 'visible' => ComponentGroup :: VISIBLE_AUTHENTICATED , ] , [ 'name' => 'Alt Three' , 'order' => 2 , 'collapsed' => 1 , 'visible' => ComponentGroup :: VISIBLE_GUEST , ] , ] ; ComponentGroup :: truncate ( ) ; foreach ( $ defaultGroups as $ group ) { ComponentGroup :: create ( $ group ) ; } }
docstring: Seed the component groups table.
  
  @return void
docstring_tokens: Seed the component groups table .