public function createService(ServiceLocatorInterface $serviceLocator) { $parentLocator = $serviceLocator->getServiceLocator(); return $this($parentLocator, S3RenameUpload::class); }