PHP Class GraphAware\Reco4PHP\Tests\Example\ExampleRecommenderService

Show file Open project: graphaware/reco4php

Protected Properties

Property Type Description
$service GraphAware\Reco4PHP\RecommenderService

Public Methods

Method Description
__construct ( string $databaseUri ) ExampleRecommenderService constructor.
recommendMovieForUserWithId ( integer $id ) : Recommendations

Method Details

__construct() public method

ExampleRecommenderService constructor.
public __construct ( string $databaseUri )
$databaseUri string

recommendMovieForUserWithId() public method

public recommendMovieForUserWithId ( integer $id ) : Recommendations
$id integer
return GraphAware\Reco4PHP\Result\Recommendations

Property Details

$service protected property

protected RecommenderService,GraphAware\Reco4PHP $service
return GraphAware\Reco4PHP\RecommenderService