MathAdapterFactory
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
Methods
- forceAdapter() : mixed
- getAdapter() : DebugDecorator|GmpMathInterface|null
- wrapAdapter() : DebugDecorator|GmpMathInterface
Properties
$forcedAdapter
    private
    static    GmpMathInterface
    $forcedAdapter
     = null
    
    
    
Methods
forceAdapter()
    public
            static        forceAdapter([GmpMathInterface $adapter = null ]) : mixed
    Parameters
- $adapter : GmpMathInterface = null
getAdapter()
    public
            static        getAdapter([bool $debug = false ]) : DebugDecorator|GmpMathInterface|null
    Parameters
- $debug : bool = false
Return values
DebugDecorator|GmpMathInterface|nullwrapAdapter()
    private
            static        wrapAdapter(GmpMathInterface $adapter, bool $debug) : DebugDecorator|GmpMathInterface
    Parameters
- $adapter : GmpMathInterface
- $debug : bool