PHP code example of neoncitylights / mediawiki-docs
1. Go to this page and download the library: Download neoncitylights/mediawiki-docs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
neoncitylights / mediawiki-docs example snippets
use Neoncitylights\MediaWikiDocs\Services\HookDataStore;
use Neoncitylights\MediaWikiDocs\Services\HookDirectoryStore;
use Neoncitylights\MediaWikiDocs\Services\HookFactory;
use phpDocumentor\Reflection\DocBlockFactory;
$ata();
$hookNames = [];
foreach( $classes as $class ) {
$hook = $hookFactory->getHookFromReflectionClass( $class );
$hookNames[$hook->getUsableName()] = "* `{$hook->getUsableName()}`: " .
"\n
";
}
natcasesort( $hookNames );
echo "<pre>";
echo implode( "<br>", $hookNames );
echo "</pre>";