1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Merge branch 'master' of github.com:doctrine/doctrine2

This commit is contained in:
Benjamin Eberlei 2011-03-16 23:01:17 +01:00
commit 53ca54ced6

View File

@ -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;
}