Merge pull request #287 from goetas/nullable
Nullable assocations for entity generator
This commit is contained in:
commit
f040ed0cf0
@ -707,6 +707,9 @@ public function <methodName>()
|
||||
|
||||
private function _isAssociationIsNullable($associationMapping)
|
||||
{
|
||||
if (isset($associationMapping['id']) && $associationMapping['id']) {
|
||||
return false;
|
||||
}
|
||||
if (isset($associationMapping['joinColumns'])) {
|
||||
$joinColumns = $associationMapping['joinColumns'];
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user