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

Afficher le fichier Open project: graphaware/neo4j-php-ogm Class Usage Examples

Protected Properties

Свойство Type Description
$id
$memberships PlaysInTeam[] | GraphAware\Neo4j\OGM\Common\Collection
$name string

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( $name )

addMembership() public méthode

public addMembership ( PlaysInTeam $playsInTeam )
$playsInTeam PlaysInTeam

getId() public méthode

public getId ( ) : mixed
Résultat mixed

getMemberships() public méthode

public getMemberships ( ) : GraphAware\Neo4j\OGM\Common\Collection | PlaysInTeam[]
Résultat GraphAware\Neo4j\OGM\Common\Collection | PlaysInTeam[]

getName() public méthode

public getName ( ) : mixed
Résultat 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
Résultat PlaysInTeam[] | GraphAware\Neo4j\OGM\Common\Collection

$name protected_oe property

protected string $name
Résultat string