diff --git a/Command/DoctrineDecryptDatabaseCommand.php b/Command/DoctrineDecryptDatabaseCommand.php index 393739f0..d716814f 100644 --- a/Command/DoctrineDecryptDatabaseCommand.php +++ b/Command/DoctrineDecryptDatabaseCommand.php @@ -66,7 +66,9 @@ protected function execute(InputInterface $input, OutputInterface $output) //Set counter and loop through entity manager meta data $propertyCount = 0; foreach($metaDataArray as $metaData) { - + if ($metaData->isMappedSuperclass) { + continue; + } //Create reflectionClass for each entity $reflectionClass = New \ReflectionClass($metaData->name); $propertyArray = $reflectionClass->getProperties(); @@ -95,6 +97,9 @@ protected function execute(InputInterface $input, OutputInterface $output) //Loop through entity manager meta data foreach($metaDataArray as $metaData) { + if ($metaData->isMappedSuperclass) { + continue; + } //Create reflectionClass for each meta data object $reflectionClass = New \ReflectionClass($metaData->name); diff --git a/Command/DoctrineEncryptDatabaseCommand.php b/Command/DoctrineEncryptDatabaseCommand.php index 2b487c08..6df3d093 100644 --- a/Command/DoctrineEncryptDatabaseCommand.php +++ b/Command/DoctrineEncryptDatabaseCommand.php @@ -66,6 +66,9 @@ protected function execute(InputInterface $input, OutputInterface $output) //Set counter and loop through entity manager meta data $propertyCount = 0; foreach($metaDataArray as $metaData) { + if ($metaData->isMappedSuperclass) { + continue; + } //Create reflectionClass for each entity $reflectionClass = New \ReflectionClass($metaData->name); @@ -93,6 +96,9 @@ protected function execute(InputInterface $input, OutputInterface $output) //Loop through entity manager meta data foreach($metaDataArray as $metaData) { + if ($metaData->isMappedSuperclass) { + continue; + } //Create reflectionClass for each meta data object $reflectionClass = New \ReflectionClass($metaData->name); diff --git a/Command/DoctrineEncryptStatusCommand.php b/Command/DoctrineEncryptStatusCommand.php index c24d515c..e5f7b2bf 100644 --- a/Command/DoctrineEncryptStatusCommand.php +++ b/Command/DoctrineEncryptStatusCommand.php @@ -41,6 +41,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $totalCount = 0; foreach($metaDataArray as $metaData) { + if ($metaData->isMappedSuperclass) { + continue; + } $reflectionClass = New \ReflectionClass($metaData->name); $propertyArray = $reflectionClass->getProperties();