public function toArray() { $array = []; foreach ($this->divisions as $division) { $array[] = $division->toArray(); } return $array; }