@@ 1313-1316 (lines=4) @@ | ||
1310 | if (isset($mapping['type']) && $mapping['type'] === 'increment') { |
|
1311 | $mapping['strategy'] = self::STORAGE_STRATEGY_INCREMENT; |
|
1312 | } |
|
1313 | if (isset($mapping['file']) && $mapping['file'] === true) { |
|
1314 | $this->file = $mapping['fieldName']; |
|
1315 | $mapping['name'] = 'file'; |
|
1316 | } |
|
1317 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1318 | $this->distance = $mapping['fieldName']; |
|
1319 | } |
|
@@ 1317-1319 (lines=3) @@ | ||
1314 | $this->file = $mapping['fieldName']; |
|
1315 | $mapping['name'] = 'file'; |
|
1316 | } |
|
1317 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1318 | $this->distance = $mapping['fieldName']; |
|
1319 | } |
|
1320 | if (isset($mapping['id']) && $mapping['id'] === true) { |
|
1321 | $mapping['name'] = '_id'; |
|
1322 | $this->identifier = $mapping['fieldName']; |