original_string: protected function seedComponents()
      {
          $defaultComponents = [
              [
                  'name'        => 'API',
                  'description' => 'Used by third-parties to connect to us',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 0,
                  'link'        => '',
              ], [
                  'name'        => 'Documentation',
                  'description' => 'Kindly powered by Readme.io',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 1,
                  'link'        => 'https://docs.cachethq.io',
              ], [
                  'name'        => 'Website',
                  'description' => '',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 1,
                  'link'        => 'https://cachethq.io',
              ], [
                  'name'        => 'Blog',
                  'description' => 'The Alt Three Blog.',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 2,
                  'link'        => 'https://blog.alt-three.com',
              ], [
                  'name'        => 'StyleCI',
                  'description' => 'The PHP Coding Style Service.',
                  'status'      => 1,
                  'order'       => 1,
                  'group_id'    => 2,
                  'link'        => 'https://styleci.io',
              ], [
                  'name'        => 'GitHub',
                  'description' => '',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 0,
                  'link'        => 'https://github.com/CachetHQ/Cachet',
              ],
          ];
  
          Component::truncate();
  
          foreach ($defaultComponents as $component) {
              Component::create($component);
          }
      }
code: protected function seedComponents()
      {
          $defaultComponents = [
              [
                  'name'        => 'API',
                  'description' => 'Used by third-parties to connect to us',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 0,
                  'link'        => '',
              ], [
                  'name'        => 'Documentation',
                  'description' => 'Kindly powered by Readme.io',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 1,
                  'link'        => 'https://docs.cachethq.io',
              ], [
                  'name'        => 'Website',
                  'description' => '',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 1,
                  'link'        => 'https://cachethq.io',
              ], [
                  'name'        => 'Blog',
                  'description' => 'The Alt Three Blog.',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 2,
                  'link'        => 'https://blog.alt-three.com',
              ], [
                  'name'        => 'StyleCI',
                  'description' => 'The PHP Coding Style Service.',
                  'status'      => 1,
                  'order'       => 1,
                  'group_id'    => 2,
                  'link'        => 'https://styleci.io',
              ], [
                  'name'        => 'GitHub',
                  'description' => '',
                  'status'      => 1,
                  'order'       => 0,
                  'group_id'    => 0,
                  'link'        => 'https://github.com/CachetHQ/Cachet',
              ],
          ];
  
          Component::truncate();
  
          foreach ($defaultComponents as $component) {
              Component::create($component);
          }
      }
code_tokens: protected function seedComponents ( ) { $ defaultComponents = [ [ 'name' => 'API' , 'description' => 'Used by third-parties to connect to us' , 'status' => 1 , 'order' => 0 , 'group_id' => 0 , 'link' => '' , ] , [ 'name' => 'Documentation' , 'description' => 'Kindly powered by Readme.io' , 'status' => 1 , 'order' => 0 , 'group_id' => 1 , 'link' => 'https://docs.cachethq.io' , ] , [ 'name' => 'Website' , 'description' => '' , 'status' => 1 , 'order' => 0 , 'group_id' => 1 , 'link' => 'https://cachethq.io' , ] , [ 'name' => 'Blog' , 'description' => 'The Alt Three Blog.' , 'status' => 1 , 'order' => 0 , 'group_id' => 2 , 'link' => 'https://blog.alt-three.com' , ] , [ 'name' => 'StyleCI' , 'description' => 'The PHP Coding Style Service.' , 'status' => 1 , 'order' => 1 , 'group_id' => 2 , 'link' => 'https://styleci.io' , ] , [ 'name' => 'GitHub' , 'description' => '' , 'status' => 1 , 'order' => 0 , 'group_id' => 0 , 'link' => 'https://github.com/CachetHQ/Cachet' , ] , ] ; Component :: truncate ( ) ; foreach ( $ defaultComponents as $ component ) { Component :: create ( $ component ) ; } }
docstring: Seed the components table.
  
  @return void
docstring_tokens: Seed the components table .