AggregatorController::__construct

public AggregatorController::__construct(DateFormatterInterface $date_formatter)

Constructs a \Drupal\aggregator\Controller\AggregatorController object.

Parameters

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

File

core/modules/aggregator/src/Controller/AggregatorController.php, line 30

Class

AggregatorController
Returns responses for aggregator module routes.

Namespace

Drupal\aggregator\Controller

Code

public function __construct(DateFormatterInterface $date_formatter) {
  $this->dateFormatter = $date_formatter;
}
doc_Drupal
2016-10-29 08:43:53
Comments
Leave a Comment

Please login to continue.