dev/BaseDevCommand.php
protected function getConfig($key, $defaultValue = null)
    {
        $config = $this->readConfig();
        
        return isset($config[$key]) ? $config[$key] : $defaultValue;
    }
protected function getConfig($key, $defaultValue = null)
    {
        $config = $this->readConfig();
        
        return isset($config[$key]) ? $config[$key] : $defaultValue;
    }
protected function getConfig ( $ key , $ defaultValue = null ) { $ config = $ this -> readConfig ( ) ; return isset ( $ config [ $ key ] ) ? $ config [ $ key ] : $ defaultValue ; }
Get a specific value for a given key.

@param string $key
@param mixed $defaultValue The value used when nothing is given
@return boolean
Get a specific value for a given key .