From 8720aa35bf25e77ecec0fb4cca9049a55f5b7cb0 Mon Sep 17 00:00:00 2001 From: Jaiden Hodges Date: Fri, 7 Jan 2022 17:21:11 +0000 Subject: [PATCH] Attendance Code Endpoint Added --- src/Endpoints/Schools.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Endpoints/Schools.php b/src/Endpoints/Schools.php index cc87247..8be1585 100644 --- a/src/Endpoints/Schools.php +++ b/src/Endpoints/Schools.php @@ -22,6 +22,11 @@ class Schools extends BootstrapEndpoint */ public $attendance; + /** + * @var AttendanceCodes + */ + public $attendanceCodes; + /** * @var AttendanceSummaries */ @@ -159,6 +164,7 @@ public function __construct($token, $id = false) $this->achievementsAttributes = new AchievementsAttributes($token, $this->uri); $this->assessment = new Assessment($token, $this->uri); $this->attendance = new Attendance($token, $this->uri); + $this->attendanceCodes = new AttendanceCodes($token, $this->uri); $this->attendanceSummaries = new AttendanceSummaries($token, $this->uri); $this->behaviours = new Behaviours($token, $this->uri); $this->behavioursAttributes = new BehavioursAttributes($token, $this->uri); @@ -190,6 +196,7 @@ public function updateDomain($domain) $this->achievementsAttributes->domain = $domain; $this->assessment->domain = $domain; $this->attendance->domain = $domain; + $this->attendanceCodes->domain = $domain; $this->attendanceSummaries->domain = $domain; $this->behaviours->domain = $domain; $this->behavioursAttributes->domain = $domain;