/** * Get config data * * @param $valueName * @return PDO */ public static function get($valueName) { if (empty(self::$_cache)) { self::$_cache = self::_loadConfig(); } return !empty(self::$_cache[$valueName]) ? self::$_cache[$valueName] : null; }