Set 'cascade' => 'all' if all cascade options set
This commit is contained in:
parent
c97eff94f5
commit
cd37ec47d5
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ class PhpExporter extends AbstractExporter
|
||||||
unset($cascade[$key]);
|
unset($cascade[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (count($cascade) === 5) {
|
||||||
|
$cascade = array('all');
|
||||||
|
}
|
||||||
$associationMappingArray = array(
|
$associationMappingArray = array(
|
||||||
'fieldName' => $associationMapping['fieldName'],
|
'fieldName' => $associationMapping['fieldName'],
|
||||||
'targetEntity' => $associationMapping['targetEntity'],
|
'targetEntity' => $associationMapping['targetEntity'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue