Does the `Route` class contain the `getHost()` method for all Symfony versions?