GraphAware\Reco4PHP\Executor\RecommendationExecutor::__construct PHP Method

__construct() public method

public __construct ( DatabaseService $databaseService )
$databaseService GraphAware\Reco4PHP\Persistence\DatabaseService
    public function __construct(DatabaseService $databaseService)
    {
        $this->discoveryExecutor = new DiscoveryPhaseExecutor($databaseService);
        $this->postProcessExecutor = new PostProcessPhaseExecutor($databaseService);
        $this->stopwatch = new Stopwatch();
    }