Goes forward in the history.
LogicException if the stack is already on the last page
public function forward() : Request { if ($this->position > \count($this->stack) - 2) { throw new LogicException('You are already on the last page.'); } return clone $this->stack[++$this->position]; }