public function getInstance() { if (self::$instance === NULL) { $argv = func_get_args(); $class = __CLASS__; self::$instance = new $class($argv[0], $argv[1]); } return self::$instance; }