public function setSecond(int $second) : self { if ($second < 0 || $second > 60) { throw new ComposerException('Second out of range.', ComposerException::SECOND); } $this->second = $second; return $this; }