You are here

public function UserExpireReport::__construct in User Expire 8

Constructs a \Drupal\user_expire\Controller object.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

\Drupal\Core\Database\Connection $database: The database service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

src/Controller/UserExpireReport.php, line 47

Class

UserExpireReport
Report controller of User Expire module.

Namespace

Drupal\user_expire\Controller

Code

public function __construct(DateFormatterInterface $date_formatter, Connection $database, TimeInterface $time) {
  $this->dateFormatter = $date_formatter;
  $this->database = $database;
  $this->time = $time;
}