code: public function getResourceTypeConfiguration($type)
      {
          if (!isset($this->resourceConfigurations[$type])) {
              throw new UnexpectedValueException("Unknown resource type '{$type}'");
          }
  
          return $this->resourceConfigurations[$type];
      }
docs: {@inheritdoc}