You are here

public static function ScanResultFormatter::create in Upgrade Status 8.2

Same name and namespace in other branches
  1. 8.3 src/ScanResultFormatter.php \Drupal\upgrade_status\ScanResultFormatter::create()
  2. 8 src/ScanResultFormatter.php \Drupal\upgrade_status\ScanResultFormatter::create()

File

src/ScanResultFormatter.php, line 76

Class

ScanResultFormatter
Format scan results for display or export.

Namespace

Drupal\upgrade_status

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('keyvalue'), $container
    ->get('date.formatter'), $container
    ->get('datetime.time'), $container
    ->get('module_handler'));
}