PHP Class GraphAware\Neo4j\OGM\Tests\Integration\Model\Person

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

Public Properties

Property Type Description
$born
$id
$movies
$name
$roles Doctrine\Common\Collections\ArrayCollection | Role[]

Public Methods

Method Description
__construct ( $name = null )
addRole ( Movie $movie, $roles = null )
getBorn ( ) : mixed
getId ( ) : mixed
getName ( ) : mixed
getRoles ( ) : Role

Method Details

__construct() public method

public __construct ( $name = null )

addRole() public method

public addRole ( Movie $movie, $roles = null )
$movie Movie

getBorn() public method

public getBorn ( ) : mixed
return mixed

getId() public method

public getId ( ) : mixed
return mixed

getName() public method

public getName ( ) : mixed
return mixed

getRoles() public method

public getRoles ( ) : Role
return Role

Property Details

$born public property

public $born

$id public property

public $id

$movies public property

public $movies

$name public property

public $name

$roles public property

public ArrayCollection,Doctrine\Common\Collections|Role[],GraphAware\Neo4j\OGM\Tests\Integration\Model $roles
return Doctrine\Common\Collections\ArrayCollection | Role[]