Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider::getConfigInstance PHP Method

getConfigInstance() protected method

Get an instantiable configuration instance.
protected getConfigInstance ( string $key ) : mixed
$key string
return mixed
    protected function getConfigInstance($key)
    {
        $instance = $this->config($key);
        if (is_string($instance)) {
            return $this->app->make($instance);
        }
        return $instance;
    }