@@ 108-115 (lines=8) @@ | ||
105 | $this->eventDispatcher->dispatch(ImportItemEvent::AFTER_READ, $event); |
|
106 | } |
|
107 | ||
108 | protected function processFilter(array $item, ImportItemEvent $event) |
|
109 | { |
|
110 | $filterResult = $this->filterItem($item, $this->filters); |
|
111 | ||
112 | $this->eventDispatcher->dispatch(ImportItemEvent::AFTER_FILTER, $event->setCurrentResult($filterResult)); |
|
113 | ||
114 | return $filterResult; |
|
115 | } |
|
116 | ||
117 | protected function processConvert(array $item, ImportItemEvent $event) |
|
118 | { |
|
@@ 126-133 (lines=8) @@ | ||
123 | return $convertedItem; |
|
124 | } |
|
125 | ||
126 | protected function processConvertFilter(array $item, ImportItemEvent $event) |
|
127 | { |
|
128 | $filterResult = $this->filterItem($item, $this->afterConversionFilters); |
|
129 | ||
130 | $this->eventDispatcher->dispatch(ImportItemEvent::AFTER_CONVERSIONFILTER, $event->setCurrentResult($filterResult)); |
|
131 | ||
132 | return $filterResult; |
|
133 | } |
|
134 | ||
135 | protected function processWrite(array $convertedItem, array $item, ImportItemEvent $event) |
|
136 | { |