Closed
Description
Basically the title.
On this page, we can find the following code:
$passport = new Passport(
new UserBadge($email, function ($userIdentifier) {
return $this->userRepository->findOneBy(['email' => $userIdentifier]);
}),
$credentials
);
I had to guess that $this->userrepository
was obtained by using autowiring, but the page makes no mention of autowiring at all. Is that by design?
Thank you!