cache the call to `$serviceLocator->getServiceLocator()`