public static function getInstance() { if (!LevelsGrid::$instance) { LevelsGrid::$instance = new LevelsGrid(); } return LevelsGrid::$instance; }