1 | <?php |
||
37 | class BundleSelectionPriceObserver extends AbstractProductImportObserver |
||
38 | { |
||
39 | |||
40 | /** |
||
41 | * Will be invoked by the action on the events the listener has been registered for. |
||
42 | * |
||
43 | * @param array $row The row to handle |
||
44 | * |
||
45 | * @return array The modified row |
||
46 | * @see \TechDivision\Import\Product\Observers\ImportObserverInterface::handle() |
||
47 | */ |
||
48 | public function handle(array $row) |
||
60 | |||
61 | /** |
||
62 | * Process the observer's business logic. |
||
63 | * |
||
64 | * @return array The processed row |
||
65 | */ |
||
66 | protected function process() |
||
84 | |||
85 | /** |
||
86 | * Prepare the attributes of the entity that has to be persisted. |
||
87 | * |
||
88 | * @return array The prepared attributes |
||
89 | */ |
||
90 | protected function prepareAttributes() |
||
117 | |||
118 | /** |
||
119 | * Initialize the bundle selection price with the passed attributes and returns an instance. |
||
120 | * |
||
121 | * @param array $attr The bundle selection price attributes |
||
122 | * |
||
123 | * @return array The initialized bundle selection price |
||
124 | */ |
||
125 | protected function initializeBundleSelectionPrice(array $attr) |
||
129 | |||
130 | /** |
||
131 | * Return's the mapping for the passed price type. |
||
132 | * |
||
133 | * @param string $priceType The price type to map |
||
134 | * |
||
135 | * @return integer The mapped price type |
||
136 | * @throws \Exception Is thrown, if the passed price type can't be mapped |
||
137 | */ |
||
138 | protected function mapPriceType($priceType) |
||
142 | |||
143 | /** |
||
144 | * Return's the selection ID for the passed child SKU. |
||
145 | * |
||
146 | * @param string $childSku The child SKU to return the selection ID for |
||
147 | * |
||
148 | * @return integer The last created selection ID |
||
149 | */ |
||
150 | protected function getChildSkuSelectionMapping($childSku) |
||
154 | |||
155 | /** |
||
156 | * Query whether or not the passed store view code is the default one. |
||
157 | * |
||
158 | * @param string $storeViewCode The store view code to be queried |
||
159 | * |
||
160 | * @return boolean TRUE if the passed store view code is the default one, else FALSE |
||
161 | */ |
||
162 | protected function isDefaultStore($storeViewCode) |
||
166 | |||
167 | /** |
||
168 | * Return's the store for the passed store code. |
||
169 | * |
||
170 | * @param string $storeCode The store code to return the store for |
||
171 | * |
||
172 | * @return array The requested store |
||
173 | * @throws \Exception Is thrown, if the requested store is not available |
||
174 | */ |
||
175 | protected function getStoreByStoreCode($storeCode) |
||
179 | |||
180 | /** |
||
181 | * Persist's the passed product bundle selection price data and return's the ID. |
||
182 | * |
||
183 | * @param array $productBundleSelectionPrice The product bundle selection price data to persist |
||
184 | * |
||
185 | * @return void |
||
186 | */ |
||
187 | protected function persistProductBundleSelectionPrice($productBundleSelectionPrice) |
||
191 | } |
||
192 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.