I have a theme class that I bootstrap my theme in and add the theme support but the featured image meta box isn't appearing.
Inside the class file:
class WCS_THEME {
    private function __construct() {
        $this->setup_hooks();
    }
    // Singleton design code here
    protected function setup_hooks() {
        add_action( 'after_theme_setup', [ $this, 'setup_theme' ] );
    }
    public function setup_theme() {
        add_theme_support( 'post-thumbnails' );
    }
}
\WCS_THEME\Inc\WCS_THEME::get_instance();
Inside functions.php:
require WCS_DIR_PATH . '/inc/classes/class-wcs-theme.php';