コード例 #1
0
 /**
  * @param UserUuid $userUuid
  * @param UserName $userName
  * @param UserEmail $email
  */
 public function __construct(UserUuid $userUuid, UserName $userName, UserEmail $email)
 {
     $this->userUuid = $userUuid->toString();
     $this->userName = $userName->toString();
     $this->userEmail = $email->toString();
 }
コード例 #2
0
 /**
  * @param UserUuid $userUuid
  */
 public function __construct(UserUuid $userUuid, UserName $userName)
 {
     $this->userUuid = $userUuid->toString();
     $this->userName = $userName->toString();
 }