diff --git a/Command/DoctrineDecryptDatabaseCommand.php b/Command/DoctrineDecryptDatabaseCommand.php index eda7df98..526bfa5c 100644 --- a/Command/DoctrineDecryptDatabaseCommand.php +++ b/Command/DoctrineDecryptDatabaseCommand.php @@ -67,7 +67,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(); @@ -93,6 +95,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 2a36690d..df59cf33 100644 --- a/Command/DoctrineEncryptDatabaseCommand.php +++ b/Command/DoctrineEncryptDatabaseCommand.php @@ -67,6 +67,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); @@ -91,6 +94,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();