Arrilot\Widgets\Test\Support\TestApplicationWrapper::config PHP Метод

config() публичный Метод

Get the specified configuration value.
public config ( string $key, mixed $default = null ) : mixed
$key string
$default mixed
Результат mixed
    public function config($key, $default = null)
    {
        if (isset($this->config[$key])) {
            return $this->config[$key];
        }
        throw new InvalidArgumentException("Key {$key} is not defined for testing");
    }