code: public function getStorageService()
      {
          if (!$this->storageService) {
              $this->storageService = $this->getServiceLocator()->get(StorageManager::SERVICE_ID);
          }
          return $this->storageService;
      }
docs: Gets the StateStorage service
  @return StorageManager