public function handle(UpdateThemeCommand $command) { $theme = $this->themes->pusherThemeFromRepository($command->repository); $this->upgrader->upgradeTheme($theme); do_action('wppusher_theme_was_updated', new ThemeWasUpdated($theme)); }