MIDDAG for Moodle

service extends abstract_service

AbstractYes

Public SDK Service.

Use this class to orchestrate application flows in your plugin, composing repositories, mappers, and facades without relying on Moodle global APIs.

Tags
example

class enrollment_service extends \local_middag\base\service { public function enroll(int $userid, int $courseid): void { // Call domain or infrastructure collaborators here. } }

Table of Contents


        
On this page
  • Table Of Contents

Search results