You are here

public function LtiToolProviderAuthenticatedEvent::__construct in LTI Tool Provider 8

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

LtiToolProviderAuthenticatedEvent constructor.

Parameters

array $context:

UserInterface $user:

File

src/Event/LtiToolProviderAuthenticatedEvent.php, line 27

Class

LtiToolProviderAuthenticatedEvent

Namespace

Drupal\lti_tool_provider\Event

Code

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