Issue #2057155 by pwolanin, dawehner: Add a generateFromRoute() method on the url generator to accept options like url().