You are here

public function SupportTicketController::__construct in Support Ticketing System 8

Constructs a SupportTicketController object.

Parameters

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

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

File

modules/support_ticket/src/Controller/SupportTicketController.php, line 46
Contains \Drupal\support_ticket\Controller\SupportTicketController.

Class

SupportTicketController
Returns responses for Support Ticket routes.

Namespace

Drupal\support_ticket\Controller

Code

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