You are here

public static function ContentSyncCommands::create in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Commands/ContentSyncCommands.php \Drupal\content_sync\Commands\ContentSyncCommands::create()

File

src/Commands/ContentSyncCommands.php, line 176

Class

ContentSyncCommands
A Drush commandfile.

Namespace

Drupal\content_sync\Commands

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.manager'), $container
    ->get('content.storage'), $container
    ->get('content.storage.sync'), $container
    ->get('content_sync.manager'));
}