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

Datei anzeigen Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Property Type Description
$id
$memberships PlaysInTeam[] | GraphAware\Neo4j\OGM\Common\Collection
$name string

Public Methods

Method Description
__construct ( $name )
addMembership ( PlaysInTeam $playsInTeam )
getId ( ) : mixed
getMemberships ( ) : GraphAware\Neo4j\OGM\Common\Collection | PlaysInTeam[]
getName ( ) : mixed

Method Details

__construct() public method

public __construct ( $name )

addMembership() public method

public addMembership ( PlaysInTeam $playsInTeam )
$playsInTeam PlaysInTeam

getId() public method

public getId ( ) : mixed
return mixed

getMemberships() public method

public getMemberships ( ) : GraphAware\Neo4j\OGM\Common\Collection | PlaysInTeam[]
return GraphAware\Neo4j\OGM\Common\Collection | PlaysInTeam[]

getName() public method

public getName ( ) : mixed
return mixed

Property Details

$id protected_oe property

protected $id

$memberships protected_oe property

protected PlaysInTeam[],GraphAware\Neo4j\OGM\Tests\Integration\Model|Collection,GraphAware\Neo4j\OGM\Common $memberships
return PlaysInTeam[] | GraphAware\Neo4j\OGM\Common\Collection

$name protected_oe property

protected string $name
return string