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