Expanded class hierarchy of ReplaceCommand in Drupal 9
- class \Drupal\Core\Ajax\InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTrait
- class \Drupal\Core\Ajax\AfterCommand
- class \Drupal\Core\Ajax\AppendCommand
- class \Drupal\Core\Ajax\BeforeCommand
- class \Drupal\Core\Ajax\HtmlCommand
- class \Drupal\Core\Ajax\PrependCommand
- class \Drupal\Core\Ajax\ReplaceCommand