public function seek($position) { if ($this->getOwner()->count() > $position) { $this->_position = $position; } else { throw new \InvalidArgumentException(sprintf('Unknown position %d, only %d items', $position, $this->getOwner()->count())); } }