code: public function getFilesystemForType($type)
      {
          $config = $this->getResourceTypeConfiguration($type);
  
          return $this->filesystemRegistry->getFilesystem($config->getFilesystemKey());
      }
docs: {@inheritdoc}