26 function __construct($toolProvider, $toolProxyService, $secret)
30 $this->{
'@context'} = array_merge(array(
'http://purl.imsglobal.org/ctx/lti/v2/ToolProxy'), $contexts);
31 $this->{
'@type'} =
'ToolProxy';
32 $this->{
'@id'} =
"{$toolProxyService->endpoint}";
33 $this->lti_version =
'LTI-2p0';
34 $this->tool_consumer_profile = $toolProvider->consumer->profile->{
'@id'};
35 $this->tool_profile =
new ToolProfile($toolProvider);
Class to represent an LTI service object.