code: public function requireArguments(array $requiredArgs, array $parameters, string $type) : bool
      {
          foreach ($requiredArgs as $parameter) {
              if (!array_key_exists($parameter, $parameters)) {
                  throw new InvalidConfigurationException(sprintf('Parameter "%s" for type "%s" is required', $parameter, $type));
              }
          }
  
          return true;
      }
docs: @param array  $requiredArgs
  @param array  $parameters
  @param string $type
  
  @return bool
  
  @throws InvalidConfigurationException