/**
     * Returns a configuration file, based on all configurations.
     * 
     * @param none
     * @return string A complete configuration file including namespace and use directives
     */
    public static function dumpConfig()
    {
        $config = <<<EOD
<?php
namespace PartKeepr;
use PartKeepr\\Util\\Configuration;


EOD;
        foreach (Configuration::$options as $option => $value) {
            switch (PartKeepr::getType($value)) {
                case "string":
                    $config .= 'Configuration::setOption("' . $option . '", "' . $value . '");' . "\n";
                    break;
                case "boolean":
                    $config .= 'Configuration::setOption("' . $option . '", ' . ($value === true ? 'true' : 'false') . ');' . "\n";
                    break;
                case "integer":
                case "numeric":
                    $config .= 'Configuration::setOption("' . $option . '", ' . intval($value) . ');' . "\n";
                    break;
                case "float":
                    $config .= 'Configuration::setOption("' . $option . '", ' . floatval($value) . ');' . "\n";
                    break;
                default:
                    break;
            }
        }
        return $config;
    }