Zend\Mvc\Service\ServiceListenerFactory::injectV3Aliases PHP Method

injectV3Aliases() private method

If the constructor detects that we're operating under zend-servicemanager v3, this method injects additional aliases to ensure that common services can be retrieved using both Titlecase and lowercase, and will get the same instances.
private injectV3Aliases ( ) : void
return void
    private function injectV3Aliases()
    {
        $this->defaultServiceConfig['aliases']['application'] = 'Application';
        $this->defaultServiceConfig['aliases']['Config'] = 'config';
        $this->defaultServiceConfig['aliases']['request'] = 'Request';
        $this->defaultServiceConfig['aliases']['response'] = 'Response';
    }