src/Core/PluginManager.php
public function config(string $key, $default = null)
    {
        $fullnameKey = $this->getNamespace().'_'.$key;

        return $this->config->get($fullnameKey, $default);
    }
public function config(string $key, $default = null)
    {
        $fullnameKey = $this->getNamespace().'_'.$key;

        return $this->config->get($fullnameKey, $default);
    }
public function config ( string $ key , $ default = null ) { $ fullnameKey = $ this -> getNamespace ( ) . '_' . $ key ; return $ this -> config -> get ( $ fullnameKey , $ default ) ; }
Return a plugin configuration value.

@param string $key     Key configuration short name.
@param mixed  $default

@return mixed
Return a plugin configuration value .