-
-
Save JKetelaar/fa6ad6048e8b99bf40876b09d4ac75ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @return Appointment[] | |
*/ | |
public function getDentistAppointments() | |
{ | |
$appointments = []; | |
foreach($this->dentistAppointments as $appointment){ | |
if ($appointment->isActive()){ | |
$appointments[] = $appointment; | |
} | |
} | |
return $appointments; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment