ModelBundle/Repository/RedirectionRepository.php
public function findByNode($nodeId, $locale, $siteId){
        $qa = $this->createAggregationQuery();

        $qa->match(array(
            'nodeId' => $nodeId,
            'locale' => $locale,
            'siteId' => $siteId,
        ));

        return $this->hydrateAggregateQuery($qa);
    }
public function findByNode($nodeId, $locale, $siteId){
        $qa = $this->createAggregationQuery();

        $qa->match(array(
            'nodeId' => $nodeId,
            'locale' => $locale,
            'siteId' => $siteId,
        ));

        return $this->hydrateAggregateQuery($qa);
    }
public function findByNode ( $ nodeId , $ locale , $ siteId ) { $ qa = $ this -> createAggregationQuery ( ) ; $ qa -> match ( array ( 'nodeId' => $ nodeId , 'locale' => $ locale , 'siteId' => $ siteId , ) ) ; return $ this -> hydrateAggregateQuery ( $ qa ) ; }
@param string $nodeId
@param string $locale
@param string $siteId

@return array
@param string $nodeId @param string $locale @param string $siteId