Registry of built-in symbolic message group type IDs. More...
Public Member Functions | |
| getSpec (string $type) | |
| Return the ObjectFactory-compatible construction specification for a type ID. | |
| getClass (string $type) | |
| Return the implementation class name for a type ID. | |
Registry of built-in symbolic message group type IDs.
Maps stable type identifiers to ObjectFactory-compatible construction specifications. Does not create message groups.
Definition at line 21 of file MessageGroupTypeRegistry.php.
| MediaWiki\Extension\Translate\MessageGroupConfiguration\MessageGroupTypeRegistry::getClass | ( | string | $type | ) |
Return the implementation class name for a type ID.
| string | $type | Registered type identifier. |
| InvalidGroupConfigurationException | if the type ID is not registered. |
Definition at line 58 of file MessageGroupTypeRegistry.php.
| MediaWiki\Extension\Translate\MessageGroupConfiguration\MessageGroupTypeRegistry::getSpec | ( | string | $type | ) |
Return the ObjectFactory-compatible construction specification for a type ID.
| string | $type | Registered type identifier. |
| InvalidGroupConfigurationException | if the type ID is not registered. |
Definition at line 44 of file MessageGroupTypeRegistry.php.