You are here

public function LtiToolProviderProvisionUserEvent::__construct in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x src/Event/LtiToolProviderProvisionUserEvent.php \Drupal\lti_tool_provider\Event\LtiToolProviderProvisionUserEvent::__construct()

LtiToolProviderProvisionUserEvent constructor.

Parameters

array $context:

UserInterface $user:

File

src/Event/LtiToolProviderProvisionUserEvent.php, line 27

Class

LtiToolProviderProvisionUserEvent

Namespace

Drupal\lti_tool_provider\Event

Code

public function __construct(array $context, UserInterface $user) {
  $this
    ->setContext($context);
  $this
    ->setUser($user);
}