original_string: public function getSectionEvents($id)
      {
          return isset($this->sections[$id]) ? $this->sections[$id]->getEvents() : [];
      }
code: public function getSectionEvents($id)
      {
          return isset($this->sections[$id]) ? $this->sections[$id]->getEvents() : [];
      }
code_tokens: public function getSectionEvents ( $ id ) { return isset ( $ this -> sections [ $ id ] ) ? $ this -> sections [ $ id ] -> getEvents ( ) : [ ] ; }
docstring: Gets all events for a given section.
  
  @param string $id A section identifier
  
  @return StopwatchEvent[]
docstring_tokens: Gets all events for a given section .