You are here

public static function MoxtraConnector::create in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/MoxtraConnector.php \Drupal\opigno_moxtra\MoxtraConnector::create()

File

src/MoxtraConnector.php, line 112

Class

MoxtraConnector

Namespace

Drupal\opigno_moxtra

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->get('logger.factory'), $container
    ->get('cache.default'), $container
    ->get('datetime.time'), $container
    ->get('messenger'), $container
    ->get('http_client'), $container
    ->get('keyvalue'));
}