Page MenuHomeWickedGov Phorge

Math.php
No OneTemporary

Size
768 B
Referenced Files
None
Subscribers
None

Math.php

<?php
namespace MediaWiki\Extension\Math;
use MediaWiki\Extension\Math\InputCheck\InputCheckFactory;
use MediaWiki\MediaWikiServices;
use Psr\Container\ContainerInterface;
/**
* Top level factory for the Math extension.
*
* @license GPL-2.0-or-later
*/
final class Math {
/**
* @codeCoverageIgnore
*/
private function __construct() {
// should not be instantiated
}
public static function getMathConfig( ?ContainerInterface $services = null ): MathConfig {
return ( $services ?: MediaWikiServices::getInstance() )
->get( 'Math.Config' );
}
public static function getCheckerFactory( ?ContainerInterface $services = null ): InputCheckFactory {
return ( $services ?: MediaWikiServices::getInstance() )
->get( 'Math.CheckerFactory' );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 19:04 (6 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/da/8b192e20baf1dae6a8075e144a5d
Default Alt Text
Math.php (768 B)

Event Timeline