public function getConfigList($key = null)
    {
        if (is_null($key)) {
            return $this->configList; // no key requested, return the entire configuration bag
        } elseif (empty($this->configList[$key])) {
            return null; // no such key
        } else {
            return $this->configList[$key]; // return the requested key
        }
    }
public function getConfigList($key = null)
    {
        if (is_null($key)) {
            return $this->configList; // no key requested, return the entire configuration bag
        } elseif (empty($this->configList[$key])) {
            return null; // no such key
        } else {
            return $this->configList[$key]; // return the requested key
        }
    }
public function getConfigList ( $ key = null ) { if ( is_null ( $ key ) ) { return $ this -> configList ; // no key requested, return the entire configuration bag } elseif ( empty ( $ this -> configList [ $ key ] ) ) { return null ; // no such key } else { return $ this -> configList [ $ key ] ; // return the requested key } }
Returns the SavantPHP configuration parameter bag.

@param string $key The specific configuration key to return.  If null, returns the entire configuration array.
@return mixed
Returns the SavantPHP configuration parameter bag .