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

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

Protected Properties

Property Type Description
$id integer
$name string
$playsIn PlaysInTeam

Public Methods

Method Description
__construct ( $name )
addToTeam ( Team $team, $timestamp = null )
getId ( ) : mixed
getName ( ) : mixed
getTeamMembership ( ) : mixed

Method Details

__construct() public method

public __construct ( $name )

addToTeam() public method

public addToTeam ( Team $team, $timestamp = null )
$team Team

getId() public method

public getId ( ) : mixed
return mixed

getName() public method

public getName ( ) : mixed
return mixed

getTeamMembership() public method

public getTeamMembership ( ) : mixed
return mixed

Property Details

$id protected property

protected int $id
return integer

$name protected property

protected string $name
return string

$playsIn protected property

protected PlaysInTeam,GraphAware\Neo4j\OGM\Tests\Integration\Model $playsIn
return PlaysInTeam