@@ 288-301 (lines=14) @@ | ||
285 | /** |
|
286 | * Sets up the fixture |
|
287 | */ |
|
288 | private function setUpAddressMapping() |
|
289 | { |
|
290 | $this->mapping['Address'] = array( |
|
291 | 'table' => 'address', |
|
292 | 'fields' => array( |
|
293 | 'sku' => array( |
|
294 | 'column' => 'sku', |
|
295 | 'length' => 255, |
|
296 | 'type' => 'string', |
|
297 | 'nullable' => false |
|
298 | ), |
|
299 | ) |
|
300 | ); |
|
301 | } |
|
302 | ||
303 | /** |
|
304 | * Sets up the fixture |
|
@@ 306-319 (lines=14) @@ | ||
303 | /** |
|
304 | * Sets up the fixture |
|
305 | */ |
|
306 | private function setUpCustomerMapping() |
|
307 | { |
|
308 | $this->mapping['Customer'] = array( |
|
309 | 'table' => 'customer', |
|
310 | 'fields' => array( |
|
311 | 'sku' => array( |
|
312 | 'column' => 'identifier', |
|
313 | 'length' => 23, |
|
314 | 'type' => 'string', |
|
315 | 'nullable' => false, |
|
316 | ) |
|
317 | ) |
|
318 | ); |
|
319 | } |
|
320 | ||
321 | /** |
|
322 | * Sets up the fixture |
|
@@ 324-337 (lines=14) @@ | ||
321 | /** |
|
322 | * Sets up the fixture |
|
323 | */ |
|
324 | private function setUpGroupMapping() |
|
325 | { |
|
326 | $this->mapping['Group'] = array( |
|
327 | 'table' => 'group', |
|
328 | 'fields' => array( |
|
329 | 'sku' => array( |
|
330 | 'column' => 'sku', |
|
331 | 'length' => 23, |
|
332 | 'type' => 'string', |
|
333 | 'nullable' => false, |
|
334 | ), |
|
335 | ) |
|
336 | ); |
|
337 | } |
|
338 | ||
339 | /** |
|
340 | * Sets up the fixture |
|
@@ 342-355 (lines=14) @@ | ||
339 | /** |
|
340 | * Sets up the fixture |
|
341 | */ |
|
342 | private function setUpSupplierMapping() |
|
343 | { |
|
344 | $this->mapping['Supplier'] = array( |
|
345 | 'discriminator' => 'dtype', |
|
346 | 'fields' => array( |
|
347 | 'sku' => array( |
|
348 | 'column' => 'identifier', |
|
349 | 'length' => 23, |
|
350 | 'type' => 'string', |
|
351 | 'nullable' => false, |
|
352 | ) |
|
353 | ) |
|
354 | ); |
|
355 | } |
|
356 | ||
357 | /** |
|
358 | * Sets up the fixture |