PHP Class GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model\SimpleBlogPost

Show file Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$id integer
$title string

Public Methods

Method Description
__construct ( string $title )
getId ( ) : integer
getPublication ( ) : SimpleBlogWrote
getTitle ( ) : string
setPublication ( SimpleBlogWrote $blogWrote )

Method Details

__construct() public method

public __construct ( string $title )
$title string

getId() public method

public getId ( ) : integer
return integer

getPublication() public method

public getPublication ( ) : SimpleBlogWrote
return SimpleBlogWrote

getTitle() public method

public getTitle ( ) : string
return string

setPublication() public method

public setPublication ( SimpleBlogWrote $blogWrote )
$blogWrote SimpleBlogWrote

Property Details

$id protected property

protected int $id
return integer

$title protected property

protected string $title
return string