public function onStoryAggregation(AnEvent $event)
    {
        if (!empty($this->_story_aggregation)) {
            $event->aggregations->append(array(
                $this->component => $this->_story_aggregation,
            ));
        }
    }
public function onStoryAggregation(AnEvent $event)
    {
        if (!empty($this->_story_aggregation)) {
            $event->aggregations->append(array(
                $this->component => $this->_story_aggregation,
            ));
        }
    }
public function onStoryAggregation ( AnEvent $ event ) { if ( ! empty ( $ this -> _story_aggregation ) ) { $ event -> aggregations -> append ( array ( $ this -> component => $ this -> _story_aggregation , ) ) ; } }
Called on when the stories are being aggregated.

@param AnEvent $event

@return bool
Called on when the stories are being aggregated .