/** * Retrieves the singleton instance of this class. * * * @return Autoload A nbAutoload implementation instance. */ public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new nbAutoload(); } return self::$instance; }