public function cfgValue($key, $defaultValue = null, $template = false)
    {
        return $this->wrapTemplate($key, $this->context->getCfgValue($key, $defaultValue), $template);
    }
public function cfgValue($key, $defaultValue = null, $template = false)
    {
        return $this->wrapTemplate($key, $this->context->getCfgValue($key, $defaultValue), $template);
    }
public function cfgValue ( $ key , $ defaultValue = null , $ template = false ) { return $ this -> wrapTemplate ( $ key , $ this -> context -> getCfgValue ( $ key , $ defaultValue ) , $ template ) ; }
Get the content of a cfg.

@param string $key The name of the cfg value to return, defined as `varName` inside the `config()` method of the cfgs section.
@param string $defaultValue Env value is not found this value will be returned.
@param string $template Provde a template which replaces the current variable if value is not `empty()`. e.g. `<p>{{variable}}≤/p>` See {{luya\cms\base\PhpBlockView::wrapTemplate}}.
@return mixed
Get the content of a cfg .