◆ __construct()
The tool_deployment_service constructor.
- Parameters
-
| application_registration_repository | $appregistrationrepo | an application_registration_repository instance. |
| deployment_repository | $deploymentrepo | a deployment_repository instance. |
| resource_link_repository | $resourcelinkrepo | a resource_link_repository instance. |
| context_repository | $contextrepo | a context_repository instance. |
| user_repository | $userrepo | a user_repository instance. |
◆ add_tool_deployment()
| enrol_lti\local\ltiadvantage\service\tool_deployment_service::add_tool_deployment |
( |
\stdClass | $requestdto | ) |
|
Service handling the use case "As an admin I can add a tool deployment to a platform registration".
- Parameters
-
| stdClass | $requestdto | the required service data. |
- Return values
-
| deployment | the deployment instance which has been created. |
- Exceptions
-
| coding_exception | if the registration doesn't exist. |
◆ delete_tool_deployment()
| enrol_lti\local\ltiadvantage\service\tool_deployment_service::delete_tool_deployment |
( |
int | $deploymentid | ) |
|
Service handling the use case "As an admin I can delete a tool deployment from a platform registration".
- Parameters
-
| int | $deploymentid | the id of the deployment to remove. |
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/service/tool_deployment_service.php