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
1 2 3 | public function __construct(DateFormatterInterface $date_formatter ) { $this ->dateFormatter = $date_formatter ; } |
Please login to continue.