miloschumanunit\highcharts\BaseTestCase::getParam PHP Method

getParam() public static method

Returns a test configuration param from /data/config.php
public static getParam ( string $name, mixed $default = null ) : mixed
$name string params name
$default mixed default value to use when param is not set.
return mixed the value of the configuration param
    public static function getParam($name, $default = null)
    {
        if (static::$params === null) {
            static::$params = (require __DIR__ . '/data/config.php');
        }
        return isset(static::$params[$name]) ? static::$params[$name] : $default;
    }