This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Description
In every project I see people working around the Url ViewHelper not working in console context.
If there was a config option like below we could have one standardized way of solving this.
<?php // config/autoload/server-url.local.php
return [
'server_url' => 'https://example.com'
]
Example of my latest workaround: https://stackoverflow.com/a/52248041/1899162
Secondarily we could then also use this option to make the ServerUrl ViewHelper work in console context.
@weierophinney do you want this PR for this repository or for Zend\View?