/** * Set pause to xml */ protected function setPauseToXml() { $this->addCurrentPathToXml(); $this->CurrentPauseIndex++; if ($this->NumPauses > $this->CurrentPauseIndex) { $this->CurrentPauseTime = $this->Pauses->at($this->CurrentPauseIndex)->time(); } }
/** * Are there pauses? * @return bool */ public function hasPauses() { return !$this->Pauses->isEmpty(); }