MediaWiki
1.30.0
|
Public Member Functions | |
__construct (callable $missingDepCallback) | |
checkDependencies () | |
validate ( $path) | |
Private Attributes | |
callable | $missingDepCallback |
Definition at line 28 of file ExtensionJsonValidator.php.
ExtensionJsonValidator::__construct | ( | callable | $missingDepCallback | ) |
callable | $missingDepCallback |
Definition at line 38 of file ExtensionJsonValidator.php.
References $missingDepCallback.
ExtensionJsonValidator::checkDependencies | ( | ) |
Definition at line 45 of file ExtensionJsonValidator.php.
References class.
Referenced by ValidateRegistrationFile\execute().
ExtensionJsonValidator::validate | ( | $path | ) |
string | $path | file to validate |
ExtensionJsonValidationError | on any failure |
Definition at line 66 of file ExtensionJsonValidator.php.
References $path, ExtensionRegistry\MANIFEST_VERSION, and ExtensionRegistry\OLDEST_MANIFEST_VERSION.
|
private |
Definition at line 33 of file ExtensionJsonValidator.php.
Referenced by __construct().