|
@@ -29,10 +29,10 @@ class Annotation implements AnnotationDriverInterface
|
|
*/
|
|
*/
|
|
const TRANSLATABLE = 'Gedmo\\Mapping\\Annotation\\Translatable';
|
|
const TRANSLATABLE = 'Gedmo\\Mapping\\Annotation\\Translatable';
|
|
|
|
|
|
- /**
|
|
|
|
- * Annotation to identify field that does not require fallback
|
|
|
|
- */
|
|
|
|
- const NOFALLBACK = 'Gedmo\\Mapping\\Annotation\\NoFallback';
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Annotation to identify field that does not require fallback
|
|
|
|
+ */
|
|
|
|
+ const NOFALLBACK = 'Gedmo\\Mapping\\Annotation\\NoFallback';
|
|
|
|
|
|
/**
|
|
/**
|
|
* Annotation to identify field which can store used locale or language
|
|
* Annotation to identify field which can store used locale or language
|
|
@@ -86,7 +86,7 @@ class Annotation implements AnnotationDriverInterface
|
|
$config['translationClass'] = $annot->class;
|
|
$config['translationClass'] = $annot->class;
|
|
}
|
|
}
|
|
|
|
|
|
- $config['nofallback'] = array();
|
|
|
|
|
|
+ $config['nofallback'] = array();
|
|
// property annotations
|
|
// property annotations
|
|
foreach ($class->getProperties() as $property) {
|
|
foreach ($class->getProperties() as $property) {
|
|
if ($meta->isMappedSuperclass && !$property->isPrivate() ||
|
|
if ($meta->isMappedSuperclass && !$property->isPrivate() ||
|