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

Datei anzeigen 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_oe property

protected int $id
return integer

$name protected_oe property

protected string $name
return string

$playsIn protected_oe property

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