You are here

public static function PushNotificationsTokenQuery::create in Push Notifications 8

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

Return value

static

File

src/PushNotificationsTokenQuery.php, line 41
Contains Drupal\push_notifications\PushNotificationsTokenQuery.

Class

PushNotificationsTokenQuery

Namespace

Drupal\push_notifications

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity.query'), $container
    ->get('entity.manager'));
}