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

Show file Open project: graphaware/neo4j-php-ogm

Protected Properties

Property Type Description
$id integer
$post SimpleBlogPost
$timestamp integer

Public Methods

Method Description
__construct ( SimpleBlogUser $user, SimpleBlogPost $post )
getId ( ) : integer
getPost ( ) : SimpleBlogPost
getTimestamp ( ) : integer
getUser ( ) : SimpleBlogUser

Method Details

__construct() public method

public __construct ( SimpleBlogUser $user, SimpleBlogPost $post )
$user SimpleBlogUser
$post SimpleBlogPost

getId() public method

public getId ( ) : integer
return integer

getPost() public method

public getPost ( ) : SimpleBlogPost
return SimpleBlogPost

getTimestamp() public method

public getTimestamp ( ) : integer
return integer

getUser() public method

public getUser ( ) : SimpleBlogUser
return SimpleBlogUser

Property Details

$id protected property

protected int $id
return integer

$post protected property

protected SimpleBlogPost,GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model $post
return SimpleBlogPost

$timestamp protected property

protected int $timestamp
return integer