/** * @param $config_file could be specified only the first time (due to option constructor of singleton) */ public static function getStatusCodesConfiguration($config_file = '') { if (empty($config_file) && !file_exists($config_file)) { $config_file = SETUP_DIRECTORY . '/../config/status.sample.json'; } return Configurations::getInstance()->getConfiguration(self::KEY_STATUS_CONFIGURATION, $config_file); }