class LtiToolProviderLaunchRedirectEvent in LTI Tool Provider 8
Same name and namespace in other branches
- 2.x src/Event/LtiToolProviderLaunchRedirectEvent.php \Drupal\lti_tool_provider\Event\LtiToolProviderLaunchRedirectEvent
Hierarchy
- class \Drupal\lti_tool_provider\LtiToolProviderEvent extends \Symfony\Component\EventDispatcher\Event
- class \Drupal\lti_tool_provider\Event\LtiToolProviderLaunchRedirectEvent
Expanded class hierarchy of LtiToolProviderLaunchRedirectEvent
2 files declare their use of LtiToolProviderLaunchRedirectEvent
- LTIToolProviderController.php in src/
Controller/ LTIToolProviderController.php - LtiToolProviderProvisionEventSubscriber.php in modules/
lti_tool_provider_provision/ src/ EventSubscriber/ LtiToolProviderProvisionEventSubscriber.php
File
- src/
Event/ LtiToolProviderLaunchRedirectEvent.php, line 7
Namespace
Drupal\lti_tool_provider\EventView source
class LtiToolProviderLaunchRedirectEvent extends LtiToolProviderEvent {
const EVENT_NAME = 'LTI_TOOL_PROVIDER_LAUNCH_REDIRECT_EVENT';
/**
* @var array
*/
private $context;
/**
* @var string
*/
private $destination;
/**
* LtiToolProviderLaunchRedirectEvent constructor.
* @param array $context
* @param string $destination
*/
public function __construct(array $context, string $destination) {
$this
->setContext($context);
$this
->setDestination($destination);
}
/**
* @return array
*/
public function getContext() : array {
return $this->context;
}
/**
* @param array $context
*/
public function setContext(array $context) {
$this->context = $context;
}
/**
* @return string
*/
public function getDestination() : string {
return $this->destination;
}
/**
* @param string $destination
*/
public function setDestination(string $destination) : void {
$this->destination = $destination;
}
}