コード例 #1
0
 public function checkUniqueEmail($email)
 {
     return $this->repository->checkUniqueEmail($this->canonicalizer->canonicalize($email));
 }
 private function canonicalizerEmail(User $user)
 {
     $email = $user->getEmail();
     $user->setEmailCanonical($this->canonicalizer->canonicalize($email));
 }