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

Show file Open project: graphaware/neo4j-php-ogm

Protected Properties

Property Type Description
$id integer
$repository Repository
$score integer
$user User

Public Methods

Method Description
__construct ( User $user, Repository $repository, $score )
getId ( ) : integer
getRepository ( ) : Repository
getScore ( ) : integer
getUser ( ) : User

Method Details

__construct() public method

public __construct ( User $user, Repository $repository, $score )
$user User
$repository Repository

getId() public method

public getId ( ) : integer
return integer

getRepository() public method

public getRepository ( ) : Repository
return Repository

getScore() public method

public getScore ( ) : integer
return integer

getUser() public method

public getUser ( ) : User
return User

Property Details

$id protected property

protected int $id
return integer

$repository protected property

protected Repository,GraphAware\Neo4j\OGM\Tests\Integration\Model $repository
return Repository

$score protected property

protected int $score
return integer

$user protected property

protected User,GraphAware\Neo4j\OGM\Tests\Integration\Model $user
return User