public function UserController::__construct in Opigno statistics 8
Same name and namespace in other branches
- 3.x src/Controller/UserController.php \Drupal\opigno_statistics\Controller\UserController::__construct()
UserController constructor.
File
- src/
Controller/ UserController.php, line 57
Class
- UserController
- Class UserController.
Namespace
Drupal\opigno_statistics\ControllerCode
public function __construct(Connection $database, TimeInterface $time, DateFormatterInterface $date_formatter) {
$this->database = $database;
$this->time = $time;
$this->date_formatter = $date_formatter;
}