public function peek() { try { return $this->forwards->peek(); } catch (\RuntimeException $e) { throw new \RuntimeException("Can't peek empty queue"); } }