public function setTimeSpentSeconds($timeSpentSeconds) { $this->timeSpentSeconds = $timeSpentSeconds; return $this; }