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

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

Protected Properties

Property Type Description
$friends
$id
$name
$others

Public Methods

Method Description
__construct ( $name )
addFriend ( BothTest $bothTest )
addOther ( BothTest $other )
getFriends ( )
getId ( ) : mixed
getName ( ) : mixed
getOthers ( ) : mixed
hasOtherWithName ( $name )

Method Details

__construct() public method

public __construct ( $name )

addFriend() public method

public addFriend ( BothTest $bothTest )
$bothTest BothTest

addOther() public method

public addOther ( BothTest $other )
$other BothTest

getFriends() public method

public getFriends ( )

getId() public method

public getId ( ) : mixed
return mixed

getName() public method

public getName ( ) : mixed
return mixed

getOthers() public method

public getOthers ( ) : mixed
return mixed

hasOtherWithName() public method

public hasOtherWithName ( $name )

Property Details

$friends protected property

protected $friends

$id protected property

protected $id

$name protected property

protected $name

$others protected property

protected $others