PHP Class AppBundle\Entity\Comment

Inheritance: implements AppBundle\Entity\EntityInterface
Show file Open project: alfonsomga/symfony.demo.on.roids Class Usage Examples

Public Methods

Method Description
__construct ( )
getAuthorEmail ( )
getContent ( )
getId ( )
getPost ( )
getPublishedAt ( )
isLegitComment ( )
setAuthorEmail ( $authorEmail )
setContent ( $content )
setId ( $id )
setPost ( Post $post )
setPublishedAt ( DateTime $publishedAt )

Method Details

__construct() public method

public __construct ( )

getAuthorEmail() public method

public getAuthorEmail ( )

getContent() public method

public getContent ( )

getId() public method

public getId ( )

getPost() public method

public getPost ( )

getPublishedAt() public method

public getPublishedAt ( )

isLegitComment() public method

public isLegitComment ( )

setAuthorEmail() public method

public setAuthorEmail ( $authorEmail )

setContent() public method

public setContent ( $content )

setId() public method

public setId ( $id )

setPost() public method

public setPost ( Post $post )
$post Post

setPublishedAt() public method

public setPublishedAt ( DateTime $publishedAt )
$publishedAt DateTime