PHP Class GraphAware\Reco4PHP\Executor\PostProcessPhaseExecutor

Show file Open project: graphaware/reco4php Class Usage Examples

Protected Properties

Property Type Description
$databaseService GraphAware\Reco4PHP\Persistence\DatabaseService

Public Methods

Method Description
__construct ( DatabaseService $databaseService ) PostProcessPhaseExecutor constructor.
execute ( GraphAware\Common\Type\Node $input, Recommendations $recommendations, GraphAware\Reco4PHP\Engine\RecommendationEngine $recommendationEngine ) : GraphAware\Common\Result\ResultCollection

Method Details

__construct() public method

PostProcessPhaseExecutor constructor.
public __construct ( DatabaseService $databaseService )
$databaseService GraphAware\Reco4PHP\Persistence\DatabaseService

execute() public method

public execute ( GraphAware\Common\Type\Node $input, Recommendations $recommendations, GraphAware\Reco4PHP\Engine\RecommendationEngine $recommendationEngine ) : GraphAware\Common\Result\ResultCollection
$input GraphAware\Common\Type\Node
$recommendations GraphAware\Reco4PHP\Result\Recommendations
$recommendationEngine GraphAware\Reco4PHP\Engine\RecommendationEngine
return GraphAware\Common\Result\ResultCollection

Property Details

$databaseService protected property

protected DatabaseService,GraphAware\Reco4PHP\Persistence $databaseService
return GraphAware\Reco4PHP\Persistence\DatabaseService