registration: Add class docs for ExtensionJsonValidator
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Jul 2018 01:20:29 +0000 (18:20 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 19 Jul 2018 01:20:29 +0000 (18:20 -0700)
Change-Id: Ic37544de1400600719764057a63cc546c26218d8

includes/registration/ExtensionJsonValidator.php

index 7d59a02..9d6c1a5 100644 (file)
@@ -25,6 +25,15 @@ use Seld\JsonLint\JsonParser;
 use Seld\JsonLint\ParsingException;
 
 /**
+ * Validate extension.json files against their JSON schema.
+ *
+ * This is used for static validation from the command-line via
+ * validateRegistrationFile.php, and the PHPUnit structure test suite
+ * (ExtensionJsonValidationTest).
+ *
+ * The files are normally read by the ExtensionRegistry
+ * and ExtensionProcessor classes.
+ *
  * @since 1.29
  */
 class ExtensionJsonValidator {