public function setOffset($offset) { if (isset($this->start)) { $this->start->setOffset($offset); } if (isset($this->end)) { $this->end->setOffset($offset); } }