BigInteger: add getEngine() static method

This commit is contained in:
terrafrost 2018-12-02 10:58:07 -06:00
parent b4ef9a1cae
commit 479fa4ce3d

View File

@ -113,6 +113,18 @@ class BigInteger implements \Serializable
self::$engines = [$main, $modexp];
}
/**
* Returns the engine type
*
* @return string[]
*/
public static function getEngine()
{
self::initialize_static_variables();
return self::$engines;
}
/**
* Initialize static variables
*/