public static function getSingleton() { if (self::$instance == NULL) { self::$instance = new Pharao(); } return self::$instance; }