public static function instance() { if (self::$instance === NULL) { self::$instance = new RocketSled(); } return self::$instance; }
<?php spl_autoload_register(function () { if (!class_exists('RocketSled')) { require_once dirname(__FILE__) . '/rocket_sled.class.php'; RocketSled::instance(); } });