Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GraphAware
Neo4j
OGM
Tests
Integration
UseCase
SimpleBlog
Model
SimpleBlogUser
PHP Class GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model\SimpleBlogUser
Show file
Open project: graphaware/neo4j-php-ogm
Class Usage Examples
Protected Properties
Property
Type
Description
$id
integer
$posts
SimpleBlogWrote[]
Public Methods
Method
Description
__construct
(
$name
)
createPost
(
$title
)
getId
( ) :
integer
getName
( ) :
string
getPosts
( ) :
SimpleBlogWrote[]
Method Details
__construct()
public
method
public
__construct
(
$name
)
createPost()
public
method
public
createPost
(
$title
)
getId()
public
method
public
getId
( ) :
integer
return
integer
getName()
public
method
public
getName
( ) :
string
return
string
getPosts()
public
method
public
getPosts
( ) :
SimpleBlogWrote[]
return
SimpleBlogWrote[]
Property Details
$id
protected property
protected
int
$id
return
integer
$posts
protected property
protected
SimpleBlogWrote[],GraphAware\Neo4j\OGM\Tests\Integration\UseCase\SimpleBlog\Model
$posts
return
SimpleBlogWrote[]