*/ interface CurrentUrlGeneratorInterface { /** * Returns the current URL. * * @return string The current URL */ public function getCurrentUrl(); /** * Should we trust forwarded headers? * * @param bool $trustForwarded * * @return $this */ public function setTrustForwarded($trustForwarded); }