You are here

public static function PushQueue::create in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_push/src/PushQueue.php \Drupal\salesforce_push\PushQueue::create()
  2. 5.0.x modules/salesforce_push/src/PushQueue.php \Drupal\salesforce_push\PushQueue::create()
2 calls to PushQueue::create()
PushQueueTest::testClaimItem in modules/salesforce_push/tests/src/Unit/PushQueueTest.php
@covers ::claimItem
PushQueueTest::testClaimItems in modules/salesforce_push/tests/src/Unit/PushQueueTest.php
@covers ::claimItems

File

modules/salesforce_push/src/PushQueue.php, line 185

Class

PushQueue
Salesforce push queue.

Namespace

Drupal\salesforce_push

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('database'), $container
    ->get('state'), $container
    ->get('plugin.manager.salesforce_push_queue_processor'), $container
    ->get('entity_type.manager'), $container
    ->get('event_dispatcher'), $container
    ->get('datetime.time'), $container
    ->get('config.factory'));
}