src/Server.php
public function setRegistrations(array $registrations): self
    {
        array_map(function (Registration $r) {
        }, $registrations); // type check
        $this->registrations = $registrations;
        return $this;
    }
public function setRegistrations(array $registrations): self
    {
        array_map(function (Registration $r) {
        }, $registrations); // type check
        $this->registrations = $registrations;
        return $this;
    }
public function setRegistrations ( array $ registrations ) : self { array_map ( function ( Registration $ r ) { } , $ registrations ) ; // type check $ this -> registrations = $ registrations ; return $ this ; }
Provide a user's existing registration to be used during
authentication

@param RegistrationInterface[] $registrations
@return self
Provide a user s existing registration to be used during authentication