*/
public static function autoLoad ($className) {
// Try to include this class
- self::getSelfInstance()->includeClass($className);
+ self::getSelfInstance()->loadClassFile($className);
}
/**
* @param $className The class that shall be loaded
* @return void
*/
- public function includeClass ($className) {
+ private function loadClassFile ($className) {
+ // Trace message
+ /* NOISY-DEBUG: */ printf('[%s:%d] className=%s - CALLED!' . PHP_EOL, __METHOD__, __LINE__, $className);
+
// The class name should contain at least 2 back-slashes, so split at them
$classNameParts = explode("\\", $className);
// Own namespace
namespace CoreFramework\Container\Socket;
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+
/**
* A Socket Container class
*
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
use CoreFramework\Registry\Generic\Registry;
+use CoreFramework\Registry\Registerable;
/**
* A generic controller class. You should extend this base class if you want to
// Import framework stuff
use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Registry\Registerable;
/**
* A Task handler
// Import framework stuff
use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Registry\Registerable;
/**
* A general image class
// Import framework stuff
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Registry\Registerable;
/**
* A class for handling user points which can be real or Internet currency
// Import framework stuff
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Middleware\BaseMiddleware;
+use CoreFramework\Registry\Registerable;
/**
* Middleware class for selecting the right compressor channel
// Import framework stuff
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Middleware\BaseMiddleware;
+use CoreFramework\Registry\Registerable;
/**
* The middlware debug output system. A *real* or concrete output class shall