public function &getAggregatorsApplyingOn(ExportInterface $export, array $centers = null)
    {
        foreach ($this->aggregators as $alias => $aggregator) {
            if (in_array($aggregator->applyOn(), $export->supportsModifiers()) && 
                    $this->isGrantedForElement($aggregator, $export, $centers)) {
                yield $alias => $aggregator;
            }
        }
    }
public function &getAggregatorsApplyingOn(ExportInterface $export, array $centers = null)
    {
        foreach ($this->aggregators as $alias => $aggregator) {
            if (in_array($aggregator->applyOn(), $export->supportsModifiers()) && 
                    $this->isGrantedForElement($aggregator, $export, $centers)) {
                yield $alias => $aggregator;
            }
        }
    }
public function & getAggregatorsApplyingOn ( ExportInterface $ export , array $ centers = null ) { foreach ( $ this -> aggregators as $ alias => $ aggregator ) { if ( in_array ( $ aggregator -> applyOn ( ) , $ export -> supportsModifiers ( ) ) && $ this -> isGrantedForElement ( $ aggregator , $ export , $ centers ) ) { yield $ alias => $ aggregator ; } } }
Return a \Generator containing aggregators which support type

@return AggregatorInterface[] a \Generator that contains aggretagors. The key is the filter's alias
Return a \ Generator containing aggregators which support type