Skip to content

Commit

Permalink
Merge pull request #2 from wassafr/master
Browse files Browse the repository at this point in the history
Ignored MappedSuperclass
  • Loading branch information
ambta committed Jan 18, 2016
2 parents ce79673 + 88f5d50 commit 531d556
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Command/DoctrineDecryptDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
Expand Down
6 changes: 6 additions & 0 deletions Command/DoctrineEncryptDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions Command/DoctrineEncryptStatusCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 531d556

Please sign in to comment.