You are here

public function ObjectLogController::__construct in Object Log 8

ObjectLogController constructor.

Parameters

Connection $database: The database connection service.

DateFormatter $date_formatter: The date service.

FormBuilderInterface $form_builder: The form builder service.

File

src/Controller/ObjectLogController.php, line 66
Contains \Drupal\object_log\Controller\ObjectLogController.

Class

ObjectLogController
Contains callbacks for Object Log routes.

Namespace

Drupal\object_log\Controller

Code

public function __construct(Connection $database, DateFormatter $date_formatter, FormBuilderInterface $form_builder) {
  $this->database = $database;
  $this->dateFormatter = $date_formatter;
  $this->formBuilder = $form_builder;
}