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

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

public getAuthor ( ) : TestValueObject
Résultat TestValueObject

getComment() public méthode

public getComment ( ) : Comment
Résultat Comment

getImage() public méthode

public getImage ( ) : Image
Résultat Image

getTitle() public méthode

public getTitle ( ) : string
Résultat string

setAuthor() public méthode

public setAuthor ( TestValueObject $author )
$author TestValueObject

setComment() public méthode

public setComment ( $comment ) : void
$comment
Résultat void

setImage() public méthode

public setImage ( Image $image )
$image Image

setTitle() public méthode

public setTitle ( string $title ) : void
$title string
Résultat void

Property Details

$author protected_oe property

protected TestValueObject,Neos\Flow\Tests\Functional\Persistence\Fixtures $author
Résultat TestValueObject

$comment protected_oe 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
Résultat Comment

$image protected_oe property

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $image
Résultat Image

$thumbnail protected_oe property

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $thumbnail
Résultat Image

$title protected_oe property

protected string $title
Résultat string