PHP Class PartKeepr\TipOfTheDayBundle\Entity\TipOfTheDayHistory

This entity stores each tip of the day the user has already seen.
Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Show file Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

Method Description
getName ( ) : string
getUser ( ) : User
setName ( string $name ) Sets the tip of the day name the user already has seen.
setUser ( User $user ) Sets the user for this entry.

Method Details

getName() public method

public getName ( ) : string
return string

getUser() public method

public getUser ( ) : User
return PartKeepr\AuthBundle\Entity\User

setName() public method

Sets the tip of the day name the user already has seen.
public setName ( string $name )
$name string The tip name

setUser() public method

Sets the user for this entry.
public setUser ( User $user )
$user PartKeepr\AuthBundle\Entity\User