PHP Class Sulu\Bundle\ContentBundle\Search\EventListener\HitListener

显示文件 Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer )
onHit ( Massive\Bundle\SearchBundle\Search\Event\HitEvent $event ) Prefix url of document with current resourcelocator prefix.

Method Details

__construct() public method

public __construct ( Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer )
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

onHit() public method

Prefix url of document with current resourcelocator prefix.
public onHit ( Massive\Bundle\SearchBundle\Search\Event\HitEvent $event )
$event Massive\Bundle\SearchBundle\Search\Event\HitEvent