Debug.php
public static function setDumper($dumper)
    {
        if (!$dumper instanceof interfaces\Dumper && !is_callable($dumper)) {
            throw new \InvalidArgumentException('Expected an instance of ['.interfaces\Dumper::class.'] or a callable, got ['.static::getTypeName($dumper).'] instead.');
        }

        static::$dumper = $dumper;
    }
public static function setDumper($dumper)
    {
        if (!$dumper instanceof interfaces\Dumper && !is_callable($dumper)) {
            throw new \InvalidArgumentException('Expected an instance of ['.interfaces\Dumper::class.'] or a callable, got ['.static::getTypeName($dumper).'] instead.');
        }

        static::$dumper = $dumper;
    }
public static function setDumper ( $ dumper ) { if ( ! $ dumper instanceof interfaces \ Dumper && ! is_callable ( $ dumper ) ) { throw new \ InvalidArgumentException ( 'Expected an instance of [' . interfaces \ Dumper :: class . '] or a callable, got [' . static :: getTypeName ( $ dumper ) . '] instead.' ) ; } static :: $ dumper = $ dumper ; }
Sets the Dumper to be used.

@param   interfaces\Dumper|callable   $dumper
Sets the Dumper to be used .