PHP Класс Neos\Flow\Tests\Functional\Persistence\Fixtures\Post

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
getAuthor ( ) : TestValueObject
getComment ( ) : Comment
getImage ( ) : Image
getTitle ( ) : string
setAuthor ( TestValueObject $author )
setComment ( $comment ) : void
setImage ( Image $image )
setTitle ( string $title ) : void

Описание методов

getAuthor() публичный Метод

public getAuthor ( ) : TestValueObject
Результат TestValueObject

getComment() публичный Метод

public getComment ( ) : Comment
Результат Comment

getImage() публичный Метод

public getImage ( ) : Image
Результат Image

getTitle() публичный Метод

public getTitle ( ) : string
Результат string

setAuthor() публичный Метод

public setAuthor ( TestValueObject $author )
$author TestValueObject

setComment() публичный Метод

public setComment ( $comment ) : void
$comment
Результат void

setImage() публичный Метод

public setImage ( Image $image )
$image Image

setTitle() публичный Метод

public setTitle ( string $title ) : void
$title string
Результат void

Описание свойств

$author защищенное свойство

protected TestValueObject,Neos\Flow\Tests\Functional\Persistence\Fixtures $author
Результат TestValueObject

$comment защищенное свойство

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
Результат Comment

$image защищенное свойство

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $image
Результат Image

$thumbnail защищенное свойство

protected Image,Neos\Flow\Tests\Functional\Persistence\Fixtures $thumbnail
Результат Image

$title защищенное свойство

protected string $title
Результат string