code: public static function build($source, ?callable $typeConfigDecorator = null, array $options = [])
      {
          $doc = $source instanceof DocumentNode ? $source : Parser::parse($source);
  
          return self::buildAST($doc, $typeConfigDecorator, $options);
      }
docs: A helper function to build a GraphQLSchema directly from a source
  document.
  
  @param DocumentNode|Source|string $source
  @param bool[]                     $options
  
  @return Schema
  
  @api