Skip to content

Commit 9402f3b

Browse files
committed
2 parents dc8ea58 + 531d556 commit 9402f3b

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

Command/DoctrineDecryptDatabaseCommand.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
6767
//Set counter and loop through entity manager meta data
6868
$propertyCount = 0;
6969
foreach($metaDataArray as $metaData) {
70-
70+
if ($metaData->isMappedSuperclass) {
71+
continue;
72+
}
7173
//Create reflectionClass for each entity
7274
$reflectionClass = New \ReflectionClass($metaData->name);
7375
$propertyArray = $reflectionClass->getProperties();
@@ -93,6 +95,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
9395

9496
//Loop through entity manager meta data
9597
foreach($metaDataArray as $metaData) {
98+
if ($metaData->isMappedSuperclass) {
99+
continue;
100+
}
96101

97102
//Create reflectionClass for each meta data object
98103
$reflectionClass = New \ReflectionClass($metaData->name);

Command/DoctrineEncryptDatabaseCommand.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
6767
//Set counter and loop through entity manager meta data
6868
$propertyCount = 0;
6969
foreach($metaDataArray as $metaData) {
70+
if ($metaData->isMappedSuperclass) {
71+
continue;
72+
}
7073

7174
//Create reflectionClass for each entity
7275
$reflectionClass = New \ReflectionClass($metaData->name);
@@ -91,6 +94,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
9194

9295
//Loop through entity manager meta data
9396
foreach($metaDataArray as $metaData) {
97+
if ($metaData->isMappedSuperclass) {
98+
continue;
99+
}
94100

95101
//Create reflectionClass for each meta data object
96102
$reflectionClass = New \ReflectionClass($metaData->name);

Command/DoctrineEncryptStatusCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
4141

4242
$totalCount = 0;
4343
foreach($metaDataArray as $metaData) {
44+
if ($metaData->isMappedSuperclass) {
45+
continue;
46+
}
4447

4548
$reflectionClass = New \ReflectionClass($metaData->name);
4649
$propertyArray = $reflectionClass->getProperties();

0 commit comments

Comments
 (0)