You are here

public static function ScanResultFormatter::create in Upgrade Status 8

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

File

src/ScanResultFormatter.php, line 64

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'));
}