/** * Constructor * * Prevent creating instances of this class by making the contructor private */ final private function __construct() { //Created the adapter registry self::$_adapters = array(); self::$_prefix_map = array(); self::$_registry = new ArrayObject(); // Register the autoloader in a way to play well with as many configurations as possible. spl_autoload_register(array(__CLASS__, 'load')); if (function_exists('__autoload')) { spl_autoload_register('__autoload'); } }