PHP Class Movies\Rating

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

Protected Properties

Property Type Description
$id integer
$movie Movie
$score float
$user User

Public Methods

Method Description
__construct ( User $user, Movie $movie, float $score ) Rating constructor.
getId ( ) : integer
getMovie ( ) : Movie
getScore ( ) : float
getUser ( ) : User

Method Details

__construct() public method

Rating constructor.
public __construct ( User $user, Movie $movie, float $score )
$user User
$movie Movie
$score float

getId() public method

public getId ( ) : integer
return integer

getMovie() public method

public getMovie ( ) : Movie
return Movie

getScore() public method

public getScore ( ) : float
return float

getUser() public method

public getUser ( ) : User
return User

Property Details

$id protected_oe property

protected int $id
return integer

$movie protected_oe property

protected Movie,movies $movie
return Movie

$score protected_oe property

protected float $score
return float

$user protected_oe property

protected User,movies $user
return User