public function WSDataService::__construct in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/WSDataService.php \Drupal\wsdata\WSDataService::__construct()
File
- src/
WSDataService.php, line 25
Class
- WSDataService
- Service for processing WSData requests.
Namespace
Drupal\wsdataCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, State $state, LoggerChannelFactoryInterface $logger) {
$this->entity_type_manager = $entity_type_manager;
$this->state = $state;
$this->logger = $logger;
$this->performance = [
'calls' => 0,
'runtime' => 0.0,
'log' => [],
];
$this->status = [];
}