lib/Doctrine/ORM/Mapping/Driver/NewAnnotationDriver.php 1 location
|
@@ 227-233 (lines=7) @@
|
| 224 |
|
} |
| 225 |
|
|
| 226 |
|
// Evaluate @Table annotation |
| 227 |
|
if (isset($classAnnotations[Annotation\Table::class])) { |
| 228 |
|
/** @var Annotation\Table $tableAnnot */ |
| 229 |
|
$tableAnnot = $classAnnotations[Annotation\Table::class]; |
| 230 |
|
$table = $this->convertTableAnnotationToTableMetadata($tableAnnot); |
| 231 |
|
|
| 232 |
|
$classMetadata->setTable($table); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
// Evaluate @ChangeTrackingPolicy annotation |
| 236 |
|
if (isset($classAnnotations[Annotation\ChangeTrackingPolicy::class])) { |
lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php 1 location
|
@@ 271-276 (lines=6) @@
|
| 268 |
|
); |
| 269 |
|
|
| 270 |
|
// Evaluate Table annotation |
| 271 |
|
if (isset($classAnnotations[Annotation\Table::class])) { |
| 272 |
|
$tableAnnot = $classAnnotations[Annotation\Table::class]; |
| 273 |
|
$table = $this->convertTableAnnotationToTableMetadata($tableAnnot); |
| 274 |
|
|
| 275 |
|
$classMetadata->setTable($table); |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
// Evaluate @Cache annotation |
| 279 |
|
if (isset($classAnnotations[Annotation\Cache::class])) { |