Method | Description | |
---|---|---|
__construct ( |
RecommenderService constructor. | |
create ( string $uri ) : |
||
findInputBy ( string $label, string $key, mixed $value ) : GraphAware\Common\Type\Node | ||
findInputById ( $id ) : GraphAware\Bolt\Result\Type\Node | GraphAware\Bolt\Result\Type\Path | GraphAware\Bolt\Result\Type\Relationship | mixed | ||
getRecommender ( $name ) : GraphAware\Reco4PHP\Engine\RecommendationEngine | ||
registerRecommendationEngine ( GraphAware\Reco4PHP\Engine\RecommendationEngine $recommendationEngine ) | ||
validateInput ( GraphAware\Common\Result\Result $result ) : GraphAware\Common\Type\Node |
public __construct ( |
||
$databaseService | ||
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$logger | Psr\Log\LoggerInterface |
public findInputById ( $id ) : GraphAware\Bolt\Result\Type\Node | GraphAware\Bolt\Result\Type\Path | GraphAware\Bolt\Result\Type\Relationship | mixed | ||
$id | ||
return | GraphAware\Bolt\Result\Type\Node | GraphAware\Bolt\Result\Type\Path | GraphAware\Bolt\Result\Type\Relationship | mixed |
public getRecommender ( $name ) : GraphAware\Reco4PHP\Engine\RecommendationEngine | ||
$name | ||
return | GraphAware\Reco4PHP\Engine\RecommendationEngine |
public registerRecommendationEngine ( GraphAware\Reco4PHP\Engine\RecommendationEngine $recommendationEngine ) | ||
$recommendationEngine | GraphAware\Reco4PHP\Engine\RecommendationEngine |
public validateInput ( GraphAware\Common\Result\Result $result ) : GraphAware\Common\Type\Node | ||
$result | GraphAware\Common\Result\Result | |
return | GraphAware\Common\Type\Node |