You are here

public function ProvisionService::__construct in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x modules/lti_tool_provider_provision/src/Services/ProvisionService.php \Drupal\lti_tool_provider_provision\Services\ProvisionService::__construct()

ProvisionService constructor.

Parameters

ConfigFactoryInterface $configFactory:

EntityTypeManagerInterface $entityTypeManager:

EventDispatcherInterface $eventDispatcher:

File

modules/lti_tool_provider_provision/src/Services/ProvisionService.php, line 48

Class

ProvisionService

Namespace

Drupal\lti_tool_provider_provision\Services

Code

public function __construct(ConfigFactoryInterface $configFactory, EntityTypeManagerInterface $entityTypeManager, EventDispatcherInterface $eventDispatcher) {
  $this->configFactory = $configFactory;
  $this->entityTypeManager = $entityTypeManager;
  $this->eventDispatcher = $eventDispatcher;
  $this->config = $configFactory
    ->get('lti_tool_provider_provision.settings');
}