public function getSectionEvents($id)
    {
        return isset($this->sections[$id]) ? $this->sections[$id]->getEvents() : [];
    }
public function getSectionEvents($id)
    {
        return isset($this->sections[$id]) ? $this->sections[$id]->getEvents() : [];
    }
public function getSectionEvents ( $ id ) { return isset ( $ this -> sections [ $ id ] ) ? $ this -> sections [ $ id ] -> getEvents ( ) : [ ] ; }
Gets all events for a given section.

@param string $id A section identifier

@return StopwatchEvent[]
Gets all events for a given section .