PHP 클래스 AppBundle\Entity\Post

파일 보기 프로젝트 열기: alfonsomga/symfony.demo.on.roids 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
addComment ( Comment $comment )
getAuthorEmail ( )
getComments ( )
getContent ( )
getGeneratedAt ( )
getId ( )
getIsPdfGenerated ( )
getPdfName ( )
getPublishedAt ( )
getSlug ( )
getSummary ( )
getTitle ( )
getUpdatedAt ( )
isAuthor ( User $user ) : boolean Is the given User the author of this Post?
removeComment ( Comment $comment )
setAuthorEmail ( $authorEmail )
setContent ( $content )
setGeneratedAt ( $generatedAt )
setId ( $id )
setIsPdfGenerated ( $isPdfGenerated )
setPdfName ( $pdfName )
setPublishedAt ( $publishedAt )
setSlug ( $slug )
setSummary ( $summary )
setTitle ( $title )
setUpdatedAt ( $updatedAt )

메소드 상세

__construct() 공개 메소드

public __construct ( )

addComment() 공개 메소드

public addComment ( Comment $comment )
$comment Comment

getAuthorEmail() 공개 메소드

public getAuthorEmail ( )

getComments() 공개 메소드

public getComments ( )

getContent() 공개 메소드

public getContent ( )

getGeneratedAt() 공개 메소드

public getGeneratedAt ( )

getId() 공개 메소드

public getId ( )

getIsPdfGenerated() 공개 메소드

public getIsPdfGenerated ( )

getPdfName() 공개 메소드

public getPdfName ( )

getPublishedAt() 공개 메소드

public getPublishedAt ( )

getSlug() 공개 메소드

public getSlug ( )

getSummary() 공개 메소드

public getSummary ( )

getTitle() 공개 메소드

public getTitle ( )

getUpdatedAt() 공개 메소드

public getUpdatedAt ( )

isAuthor() 공개 메소드

Is the given User the author of this Post?
public isAuthor ( User $user ) : boolean
$user User
리턴 boolean

removeComment() 공개 메소드

public removeComment ( Comment $comment )
$comment Comment

setAuthorEmail() 공개 메소드

public setAuthorEmail ( $authorEmail )

setContent() 공개 메소드

public setContent ( $content )

setGeneratedAt() 공개 메소드

public setGeneratedAt ( $generatedAt )

setId() 공개 메소드

public setId ( $id )

setIsPdfGenerated() 공개 메소드

public setIsPdfGenerated ( $isPdfGenerated )

setPdfName() 공개 메소드

public setPdfName ( $pdfName )

setPublishedAt() 공개 메소드

public setPublishedAt ( $publishedAt )

setSlug() 공개 메소드

public setSlug ( $slug )

setSummary() 공개 메소드

public setSummary ( $summary )

setTitle() 공개 메소드

public setTitle ( $title )

setUpdatedAt() 공개 메소드

public setUpdatedAt ( $updatedAt )