Skip to content

Commit

Permalink
Merge pull request #22 from wondeltd/API-583-attendance-codes-endpoin…
Browse files Browse the repository at this point in the history
…t-added-to-php-client

Attendance Code Endpoint Added
  • Loading branch information
JRHodgesWonde authored Jan 11, 2022
2 parents 62984fa + 8720aa3 commit b57ac30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Endpoints/Schools.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ class Schools extends BootstrapEndpoint
*/
public $attendance;

/**
* @var AttendanceCodes
*/
public $attendanceCodes;

/**
* @var AttendanceSummaries
*/
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b57ac30

Please sign in to comment.