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

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

Protected Properties

Property Type Description
$habitants
$id
$name

Public Methods

Method Description
__construct ( $name )
addHabitant ( LivesIn $livesIn )
getHabitants ( ) : mixed
getId ( ) : mixed
getName ( ) : mixed

Method Details

__construct() public method

public __construct ( $name )

addHabitant() public method

public addHabitant ( LivesIn $livesIn )
$livesIn LivesIn

getHabitants() public method

public getHabitants ( ) : mixed
return mixed

getId() public method

public getId ( ) : mixed
return mixed

getName() public method

public getName ( ) : mixed
return mixed

Property Details

$habitants protected property

protected $habitants

$id protected property

protected $id

$name protected property

protected $name