You are here

public static function NotificationsWidgetService::create in Notifications widget 8

File

src/Services/NotificationsWidgetService.php, line 90

Class

NotificationsWidgetService
Service handler for Notification Logger.

Namespace

Drupal\notifications_widget\Services

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('current_user'), $container
    ->get('database'), $container
    ->get('request_stack'), $container
    ->get('config.factory'), $container
    ->get('token'), $container
    ->get('datetime.time'));
}