PHP 클래스 Lw\Domain\Model\User\User

파일 보기 프로젝트 열기: dddinphp/last-wishes 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$createdOn DateTime
$email string
$password string
$updatedOn DateTime
$userId UserId
$wishes Doctrine\Common\Collections\ArrayCollection

공개 메소드들

메소드 설명
__construct ( UserId $userId, string $email, string $password )
changePassword ( string $password )
deleteWish ( WishId $wishId )
email ( ) : string
grantWishes ( )
id ( ) : UserId
makeWishAggregateVersion ( $address, $content )
makeWishNoAggregateVersion ( WishId $wishId, $address, $content )
numberOfRemainingWishes ( )
password ( ) : string
updateWish ( WishId $wishId, $address, $content )

보호된 메소드들

메소드 설명
setEmail ( $email )

메소드 상세

__construct() 공개 메소드

public __construct ( UserId $userId, string $email, string $password )
$userId UserId
$email string
$password string

changePassword() 공개 메소드

public changePassword ( string $password )
$password string

deleteWish() 공개 메소드

public deleteWish ( WishId $wishId )
$wishId Lw\Domain\Model\Wish\WishId

email() 공개 메소드

public email ( ) : string
리턴 string

grantWishes() 공개 메소드

public grantWishes ( )

id() 공개 메소드

public id ( ) : UserId
리턴 UserId

makeWishAggregateVersion() 공개 메소드

public makeWishAggregateVersion ( $address, $content )

makeWishNoAggregateVersion() 공개 메소드

public makeWishNoAggregateVersion ( WishId $wishId, $address, $content )
$wishId Lw\Domain\Model\Wish\WishId

numberOfRemainingWishes() 공개 메소드

password() 공개 메소드

public password ( ) : string
리턴 string

setEmail() 보호된 메소드

protected setEmail ( $email )
$email

updateWish() 공개 메소드

public updateWish ( WishId $wishId, $address, $content )
$wishId Lw\Domain\Model\Wish\WishId

프로퍼티 상세

$createdOn 보호되어 있는 프로퍼티

protected DateTime $createdOn
리턴 DateTime

$email 보호되어 있는 프로퍼티

protected string $email
리턴 string

$password 보호되어 있는 프로퍼티

protected string $password
리턴 string

$updatedOn 보호되어 있는 프로퍼티

protected DateTime $updatedOn
리턴 DateTime

$userId 보호되어 있는 프로퍼티

protected UserId,Lw\Domain\Model\User $userId
리턴 UserId

$wishes 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $wishes
리턴 Doctrine\Common\Collections\ArrayCollection