|
@@ -115,7 +115,7 @@ discard block |
|
|
block discarded – undo |
|
115
|
115
|
* |
|
116
|
116
|
* @throws \InvalidArgumentException when trying to set a reference to an unsupported attribute. |
|
117
|
117
|
* @param $object a sinle element to extract reference values from |
|
118
|
|
- * @param array $referencesDefinitionsthe definitions of the references to extract |
|
|
118
|
+ * @param array $referencesDefinitions definitions of the references to extract |
|
119
|
119
|
* @return array key: the reference name (taken from $referencesDefinitions[n]['identifier'], value: the ref. value |
|
120
|
120
|
*/ |
|
121
|
121
|
abstract protected function getReferencesValues($object, array $referencesDefinitions); |
|
@@ -323,6 +323,9 @@ discard block |
|
|
block discarded – undo |
|
323
|
323
|
return preg_replace('/(?<!^)[A-Z]/', ' $0', $className); |
|
324
|
324
|
} |
|
325
|
325
|
|
|
|
326
|
+ /** |
|
|
327
|
+ * @param AbstractCollection $collection |
|
|
328
|
+ */ |
|
326
|
329
|
protected function getCollectionName($collection) |
|
327
|
330
|
{ |
|
328
|
331
|
$className = get_class($collection); |
Please login to merge, or discard this patch.