GraphAware\Reco4PHP\Executor\RecommendationExecutor::doPostProcess PHP Метод

doPostProcess() приватный Метод

private doPostProcess ( GraphAware\Common\Type\Node $input, Recommendations $recommendations, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine )
$input GraphAware\Common\Type\Node
$recommendations GraphAware\Reco4PHP\Result\Recommendations
$engine GraphAware\Reco4PHP\Engine\RecommendationEngine
    private function doPostProcess(Node $input, Recommendations $recommendations, RecommendationEngine $engine)
    {
        $recommendations->getContext()->getStatistics()->startPostProcess();
        $postProcessResult = $this->postProcessExecutor->execute($input, $recommendations, $engine);
        foreach ($engine->getPostProcessors() as $postProcessor) {
            $tag = $postProcessor->name();
            $result = $postProcessResult->get($tag);
            $postProcessor->handleResultSet($input, $result, $recommendations);
        }
        $recommendations->getContext()->getStatistics()->stopPostProcess();
    }