Bundle/CoreBundle/DoctrineMigrations/Version20170217154603.php 1 location
|
@@ 166-173 (lines=8) @@
|
163 |
|
} |
164 |
|
if ($inPaths) { |
165 |
|
$classAnnotations = $this->getContainer()->get('annotation_reader')->getClassAnnotations($class); |
166 |
|
if (!empty($classAnnotations)) { |
167 |
|
foreach ($classAnnotations as $key => $annot) { |
168 |
|
if (!is_numeric($key)) { |
169 |
|
continue; |
170 |
|
} |
171 |
|
$classAnnotations[get_class($annot)] = $annot; |
172 |
|
} |
173 |
|
} |
174 |
|
|
175 |
|
// Evaluate Entity annotation |
176 |
|
if (isset($classAnnotations['Victoire\Bundle\CoreBundle\Annotations\BusinessEntity'])) { |
Bundle/BusinessEntityBundle/Annotation/AnnotationDriver.php 1 location
|
@@ 117-124 (lines=8) @@
|
114 |
|
} |
115 |
|
if ($inPaths) { |
116 |
|
$classAnnotations = $this->reader->getClassAnnotations($class); |
117 |
|
if (!empty($classAnnotations)) { |
118 |
|
foreach ($classAnnotations as $key => $annot) { |
119 |
|
if (!is_numeric($key)) { |
120 |
|
continue; |
121 |
|
} |
122 |
|
$classAnnotations[get_class($annot)] = $annot; |
123 |
|
} |
124 |
|
} |
125 |
|
|
126 |
|
//check if the entity is a widget (extends (in depth) widget class) |
127 |
|
$parentClass = $class->getParentClass(); |