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
Model
Company
PHP Class GraphAware\Neo4j\OGM\Tests\Integration\Model\Company
Show file
Open project: graphaware/neo4j-php-ogm
Class Usage Examples
Protected Properties
Property
Type
Description
$employees
$id
$name
Public Methods
Method
Description
__construct
(
$name
)
addEmployee
(
User
$user
)
getEmployees
( ) :
User[]
getId
( ) :
integer
getName
( ) :
string
removeEmployee
(
User
$user
)
Method Details
__construct()
public
method
public
__construct
(
$name
)
addEmployee()
public
method
public
addEmployee
(
User
$user
)
$user
User
getEmployees()
public
method
public
getEmployees
( ) :
User[]
return
User[]
getId()
public
method
public
getId
( ) :
integer
return
integer
getName()
public
method
public
getName
( ) :
string
return
string
removeEmployee()
public
method
public
removeEmployee
(
User
$user
)
$user
User
Property Details
$employees
protected property
protected
$employees
$id
protected property
protected
$id
$name
protected property
protected
$name