public function setRegistrations(array $registrations): self
    {
        array_map(function (Registration $r) {
        }, $registrations); // type check
        $this->registrations = $registrations;
        return $this;
    }