You are here

public function LogController::__construct in Log entity 8

Constructs a LogController object.

Parameters

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

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

File

src/Controller/LogController.php, line 48
Contains \Drupal\log\Controller\LogController.

Class

LogController
Returns responses for Log routes.

Namespace

Drupal\log\Controller

Code

public function __construct(DateFormatterInterface $date_formatter, RendererInterface $renderer) {
  $this->dateFormatter = $date_formatter;
  $this->renderer = $renderer;
}