Page MenuHomeWickedGov Phorge

ExtensionModule.php
No OneTemporary

Size
751 B
Referenced Files
None
Subscribers
None

ExtensionModule.php

<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Ext;
/**
* A Parsoid native extension module. This bundles up the configuration
* for a number of different ExtensionTagHandlers, ContentModelHandlers,
* and DomProcessors into one registered object. The only method required
* is `getConfig`.
*
* FIXME: This might be created on-demand by configuration data specified
* in extension.json.
*/
interface ExtensionModule {
/**
* Return information about this extension module.
* FIXME: Add more expected fields or create a class for this
* FIXME: The 'name' is expected to be the same as the name defined
* at the top level of extension.json.
* @return array{name:string}
*/
public function getConfig(): array;
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Aug 19, 14:10 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cf/63/33036eca1149df62387f96fe9496
Default Alt Text
ExtensionModule.php (751 B)

Event Timeline