Bundle/BusinessEntityBundle/Annotation/AnnotationDriver.php 1 location
|
@@ 102-109 (lines=8) @@
|
99 |
|
} |
100 |
|
if ($inPaths) { |
101 |
|
$classAnnotations = $this->reader->getClassAnnotations($class); |
102 |
|
if (!empty($classAnnotations)) { |
103 |
|
foreach ($classAnnotations as $key => $annot) { |
104 |
|
if (!is_numeric($key)) { |
105 |
|
continue; |
106 |
|
} |
107 |
|
$classAnnotations[get_class($annot)] = $annot; |
108 |
|
} |
109 |
|
} |
110 |
|
|
111 |
|
//check if the entity is a widget (extends (in depth) widget class) |
112 |
|
$parentClass = $class->getParentClass(); |
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'])) { |