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

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

Protected Properties

Property Type Description
$amount integer
$id integer
$resource Resource
$user User

Public Methods

Method Description
__construct ( User $user, Resource $resource, $amount )
getAmount ( ) : integer
getId ( ) : integer
getResource ( ) : Resource
getUser ( ) : User
setAmount ( integer $amount )

Method Details

__construct() public method

public __construct ( User $user, Resource $resource, $amount )
$user User
$resource Resource

getAmount() public method

public getAmount ( ) : integer
return integer

getId() public method

public getId ( ) : integer
return integer

getResource() public method

public getResource ( ) : Resource
return Resource

getUser() public method

public getUser ( ) : User
return User

setAmount() public method

public setAmount ( integer $amount )
$amount integer

Property Details

$amount protected property

protected int $amount
return integer

$id protected property

protected int $id
return integer

$resource protected property

protected Resource,GraphAware\Neo4j\OGM\Tests\Integration\Model $resource
return Resource

$user protected property

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