Merge branch 'master' of github.com:doctrine/doctrine2
This commit is contained in:
commit
53ca54ced6
@ -275,7 +275,6 @@ class ClassMetadata extends ClassMetadataInfo
|
||||
{
|
||||
// This metadata is always serialized/cached.
|
||||
$serialized = array(
|
||||
'namedQueries',
|
||||
'associationMappings',
|
||||
'columnNames', //TODO: Not really needed. Can use fieldMappings[$fieldName]['columnName']
|
||||
'fieldMappings',
|
||||
@ -331,6 +330,10 @@ class ClassMetadata extends ClassMetadataInfo
|
||||
$serialized[] = 'lifecycleCallbacks';
|
||||
}
|
||||
|
||||
if ($this->namedQueries) {
|
||||
$serialized[] = 'namedQueries';
|
||||
}
|
||||
|
||||
return $serialized;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user