src/Eccube/Command/GenerateProxyCommand.php 1 location
|
@@ 80-86 (lines=7) @@
|
| 77 |
|
|
| 78 |
|
$declared = get_declared_traits(); |
| 79 |
|
|
| 80 |
|
foreach ($declared as $className) { |
| 81 |
|
$rc = new \ReflectionClass($className); |
| 82 |
|
$sourceFile = $rc->getFileName(); |
| 83 |
|
if (in_array($sourceFile, $includedFiles)) { |
| 84 |
|
$traits[] = $className; |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
// traitから@EntityExtensionを抽出 |
| 89 |
|
$reader = new AnnotationReader(); |
src/Eccube/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php 1 location
|
@@ 101-107 (lines=7) @@
|
| 98 |
|
|
| 99 |
|
$declared = get_declared_classes(); |
| 100 |
|
|
| 101 |
|
foreach ($declared as $className) { |
| 102 |
|
$rc = new \ReflectionClass($className); |
| 103 |
|
$sourceFile = $rc->getFileName(); |
| 104 |
|
if (in_array($sourceFile, $includedFiles) && ! $this->isTransient($className)) { |
| 105 |
|
$classes[] = $className; |
| 106 |
|
} |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
$this->classNames = $classes; |
| 110 |
|
|