8 public function init($params)
18 foreach($params as $index=>$item)
20 $this->collection->addItem(
21 Integration\
Service\Internal\Container\Item::create(
24 ->setOriginatorId(static::ANALITICS_ORIGINATOR_ID)
25 ->setName($item[
'NAME'])
26 ->setLastName($item[
'LAST_NAME'])
27 ->setEmail($item[
'EMAIL'])
28 ->setPhone($item[
'PHONE'])
29 ->setAddressPostalCode($item[
'ZIP'])
30 ->setAddress($item[
'ADDRESS']))
31 ->setInternalIndex($index)
35 $this->relationLoad();