public function __construct( IteratorAggregate
$componentHandler,
EmotionElementGateway
$gateway,
EventComponentHandler
$eventComponentHandler,
DataCollectionResolverInterface
$dataCollectionResolver,
Enlight_Event_EventManager
$eventManager ) { $this->gateway =
$gateway;
$this->eventComponentHandler =
$eventComponentHandler;
$this->dataCollectionResolver =
$dataCollectionResolver;
$this->eventManager =
$eventManager;
$this->componentHandler =
$this->
registerComponentHandlers(iterator_to_array($componentHandler, false
));
} /**
* @param int[] $emotionIds
*
* @return \Shopware\Bundle\EmotionBundle\Struct\Emotion[]
*/
public function getList(array
$emotionIds, ShopContextInterface
$context) { $elements =
$this->gateway->
getList($emotionIds,
$context);