private static function checkStaticInstance() { if (!isset(self::$staticInstance)) { self::$staticInstance = new self(); } }