+ * The protected constructor. Please use the factory method below, or use
+ * getInstance() for singleton
+ *
+ * @return void
+ */
+ protected function __construct () {
+ // Is Currently empty
+ }
+
+ /**
+ * Our renamed factory method
+ *
+ * @param $configInstance Configuration class instance
+ * @return void
+ */
+ public final static function createClassLoader (FrameworkConfiguration $configInstance) {
+ // Get a new instance
+ $loaderInstance = new ClassLoader();
+
+ // Init the instance
+ $loaderInstance->initLoader($configInstance);
+
+ // Return the prepared instance
+ return $loaderInstance;
+ }
+
+ /**
+ * Initializes our loader class