miloschumanunit\highcharts\BaseTestCase::getParam PHP Метод

getParam() публичный статический Метод

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.
Результат 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;
    }