/** * Create new environment and give it * to the registry to make it usable */ protected final function initEnvironment() { Registry::set('environment', new Environment()); }