PHP Class Neos\Flow\Tests\Functional\Persistence\Fixtures\Post

Show file Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$author TestValueObject
$comment Comment Yeah, only one comment allowed for a post ;-) But that's the easiest option for our functional test.
$image Image
$related Doctrine\Common\Collections\Collection
$thumbnail Image
$title string

Public Methods

Method Description
getAuthor ( ) : TestValueObject
getComment ( ) : Comment
getImage ( ) : Image
getTitle ( ) : string
setAuthor ( TestValueObject $author )
setComment ( $comment ) : void
setImage ( Image $image )
setTitle ( string $title ) : void

Method Details

getAuthor() public method

getComment() public method

public getComment ( ) : Comment
return Comment

getImage() public method

public getImage ( ) : Image
return Image

getTitle() public method

public getTitle ( ) : string
return string

setAuthor() public method

public setAuthor ( TestValueObject $author )
$author TestValueObject

setComment() public method

public setComment ( $comment ) : void
$comment
return void

setImage() public method

public setImage ( Image $image )
$image Image

setTitle() public method

public setTitle ( string $title ) : void
$title string
return void

Property Details

$author protected property

protected TestValueObject,Neos\Flow\Tests\Functional\Persistence\Fixtures $author
return TestValueObject

$comment protected property

Yeah, only one comment allowed for a post ;-) But that's the easiest option for our functional test.
protected Comment,Neos\Flow\Tests\Functional\Persistence\Fixtures $comment
return Comment

$image protected property

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $image
return Image

$thumbnail protected property

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $thumbnail
return Image

$title protected property

protected string $title
return string