original_string: protected function seedIncidents()
      {
          $incidentMessage = <<<'EINCIDENT'
  # Of course it does!
  
  What kind of web application doesn't these days?
  
  ## Headers are fun aren't they
  
  It's _exactly_ why we need Markdown. For **emphasis** and such.
  EINCIDENT;
  
          $defaultIncidents = [
              [
                  'name'         => 'Our monkeys aren\'t performing',
                  'message'      => 'We\'re investigating an issue with our monkeys not performing as they should be.',
                  'status'       => Incident::INVESTIGATING,
                  'component_id' => 0,
                  'visible'      => 1,
                  'stickied'     => false,
                  'user_id'      => 1,
                  'occurred_at'  => Carbon::now(),
              ],
              [
                  'name'         => 'This is an unresolved incident',
                  'message'      => 'Unresolved incidents are left without a **Fixed** update.',
                  'status'       => Incident::INVESTIGATING,
                  'component_id' => 0,
                  'visible'      => 1,
                  'stickied'     => false,
                  'user_id'      => 1,
                  'occurred_at'  => Carbon::now(),
              ],
          ];
  
          Incident::truncate();
          IncidentUpdate::truncate();
  
          foreach ($defaultIncidents as $defaultIncident) {
              $incident = Incident::create($defaultIncident);
  
              $this->seedIncidentUpdates($incident);
          }
      }
code: protected function seedIncidents()
      {
          $incidentMessage = <<<'EINCIDENT'
  # Of course it does!
  
  What kind of web application doesn't these days?
  
  ## Headers are fun aren't they
  
  It's _exactly_ why we need Markdown. For **emphasis** and such.
  EINCIDENT;
  
          $defaultIncidents = [
              [
                  'name'         => 'Our monkeys aren\'t performing',
                  'message'      => 'We\'re investigating an issue with our monkeys not performing as they should be.',
                  'status'       => Incident::INVESTIGATING,
                  'component_id' => 0,
                  'visible'      => 1,
                  'stickied'     => false,
                  'user_id'      => 1,
                  'occurred_at'  => Carbon::now(),
              ],
              [
                  'name'         => 'This is an unresolved incident',
                  'message'      => 'Unresolved incidents are left without a **Fixed** update.',
                  'status'       => Incident::INVESTIGATING,
                  'component_id' => 0,
                  'visible'      => 1,
                  'stickied'     => false,
                  'user_id'      => 1,
                  'occurred_at'  => Carbon::now(),
              ],
          ];
  
          Incident::truncate();
          IncidentUpdate::truncate();
  
          foreach ($defaultIncidents as $defaultIncident) {
              $incident = Incident::create($defaultIncident);
  
              $this->seedIncidentUpdates($incident);
          }
      }
code_tokens: protected function seedIncidents ( ) { $ incidentMessage =  <<<'EINCIDENT'
  # Of course it does!
  
  What kind of web application doesn't these days?
  
  ## Headers are fun aren't they
  
  It's _exactly_ why we need Markdown. For **emphasis** and such.
  EINCIDENT ; $ defaultIncidents = [ [ 'name' => 'Our monkeys aren\'t performing' , 'message' => 'We\'re investigating an issue with our monkeys not performing as they should be.' , 'status' => Incident :: INVESTIGATING , 'component_id' => 0 , 'visible' => 1 , 'stickied' => false , 'user_id' => 1 , 'occurred_at' => Carbon :: now ( ) , ] , [ 'name' => 'This is an unresolved incident' , 'message' => 'Unresolved incidents are left without a **Fixed** update.' , 'status' => Incident :: INVESTIGATING , 'component_id' => 0 , 'visible' => 1 , 'stickied' => false , 'user_id' => 1 , 'occurred_at' => Carbon :: now ( ) , ] , ] ; Incident :: truncate ( ) ; IncidentUpdate :: truncate ( ) ; foreach ( $ defaultIncidents as $ defaultIncident ) { $ incident = Incident :: create ( $ defaultIncident ) ; $ this -> seedIncidentUpdates ( $ incident ) ; } }
docstring: Seed the incidents table.
  
  @return void
docstring_tokens: Seed the incidents table .