3 declare(strict_types=1);
65 $this->services = array(
70 $this->
unsigned =
false;
71 $this->toolproxy = null;
73 $this->typeconfig = null;
74 $this->resources = null;
75 $this->resourcePath =
'';
83 if (empty($this->resources)) {
86 if (!empty($this->resources)) {
87 foreach ($this->resources as $resource) {
88 $value = $resource->parseValue($value);
string $id
ID for the service.
array $typeconfig
LTI type config array for the current service request.
parseValue(string $value)
Parse a string for custom substitution parameter variables supported by this service's resources...
stdClass $type
LTI type object for the current service request.
array $services
lti services (for further use)
stdClass $toolproxy
Tool proxy object for the current service request.
bool $unsigned
if requests for this service do not need to be signed.
string $name
Human readable name for the service.
string $resourcePath
cleaned requested resourcePath
checkTool()
Check that the request has been properly signed and is permitted.
getResourcePath()
Get cleaned resourcePath without service part.
getResources()
Get the resources for this service.
array $resources
Instances of the resources associated with this service.
setResourcePath(string $resourcePath)
Set the cleaned resourcePath without service part.