'matthew s.', 'response' => 'yes'], ['name' => 'Michael P.', 'response' => 'yes'], ['name' => 'Kathryn "Kat" R.', 'response' => 'yes'], ['name' => 'Did not attend', 'response' => 'no'], ]; public function getConfirmedAttendees(): Collection { return Collection::make(self::$rsvps) ->filter(fn (array $attendee): bool => $attendee['response'] == 'yes') ; } }