public static function boot() { if (is_null(self::$init)) { self::init(); } elseif (false === self::$init) { session_start(); self::$init = true; } }