You are here

public static function BlazyManagerBase::create in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/BlazyManagerBase.php \Drupal\blazy\BlazyManagerBase::create()

File

src/BlazyManagerBase.php, line 68

Class

BlazyManagerBase
Implements BlazyManagerInterface.

Namespace

Drupal\blazy

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('module_handler'), $container
    ->get('renderer'), $container
    ->get('config.factory'), $container
    ->get('cache.default'));
}