get('Config'); $config = isset($config['aws']) ? $config['aws'] : []; $config += [ 'ua_append' => [ 'ZF2/' . Module::VERSION, 'ZFMOD/' . Module::VERSION, ] ]; return new AwsSdk($config); } /** * {@inheritDoc} * @return AwsSdk */ public function createService(ServiceLocatorInterface $serviceLocator) { return $this($serviceLocator, AwsSdk::class); } }