You are here

public static function UserController::create in Opigno statistics 8

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

Create.

Overrides ControllerBase::create

File

src/Controller/UserController.php, line 70

Class

UserController
Class UserController.

Namespace

Drupal\opigno_statistics\Controller

Code

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