PHP Class Nelmio\Alice\scenario1\ImmutableUser

Mostra file Open project: nelmio/alice

Public Methods

Method Description
__construct ( string $username, string $fullname, string $birthDate, string $email, integer $favoriteNumber )
getBirthDate ( ) : DateTimeInterface
getEmail ( ) : string
getFavoriteNumber ( ) : integer
getFullname ( ) : string
getUsername ( ) : string

Method Details

__construct() public method

public __construct ( string $username, string $fullname, string $birthDate, string $email, integer $favoriteNumber )
$username string
$fullname string
$birthDate string
$email string
$favoriteNumber integer

getBirthDate() public method

public getBirthDate ( ) : DateTimeInterface
return DateTimeInterface

getEmail() public method

public getEmail ( ) : string
return string

getFavoriteNumber() public method

public getFavoriteNumber ( ) : integer
return integer

getFullname() public method

public getFullname ( ) : string
return string

getUsername() public method

public getUsername ( ) : string
return string