public processRecommendation ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine, GraphAware\Reco4PHP\Context\Context $context ) | ||
$input | GraphAware\Common\Type\Node | |
$engine | GraphAware\Reco4PHP\Engine\RecommendationEngine | |
$context | GraphAware\Reco4PHP\Context\Context |
/** * @param \GraphAware\Common\Type\NodeInterface $input * * @return \GraphAware\Reco4PHP\Result\Recommendations */ public final function recommend(NodeInterface $input) { $recommendations = $this->recommendationExecutor->processRecommendation($input, $this); return $recommendations; }
/** * @param Node $input * @param Context $context * * @return \GraphAware\Reco4PHP\Result\Recommendations */ public final function recommend(Node $input, Context $context) : Recommendations { $recommendations = $this->recommendationExecutor->processRecommendation($input, $this, $context); return $recommendations; }