/**
* Construct
*
* @param Configuration $config
* @param Environment $env
*/
public function __construct(Configuration $config, Environment $env)
{
$this->config = $config;
$this->env = $env;
$env->setAsProtected('server', ['name' => $config->getName(), 'host' => $config->getHost(), 'port' => $config->getPort()]);
}