*/
private $classCacheFQFN = "";
+ /**
+ * Counter for loaded include files
+ */
+ private $total = 0;
+
/**
* The *public* constructor
*
// File is found so load it only once
require($this->classes[$fileName]);
+ // Count this include
+ $this->total++;
+
// Developer mode excludes caching (better debugging)
if (!defined('DEVELOPER')) {
// Mark this class as loaded
} // END - if
} // END - foreach
}
+
+ /**
+ * Getter for total include counter
+ *
+ * @return $total Total loaded include files
+ */
+ public final function getTotal () {
+ return $this->total;
+ }
}
// [EOF]