Skip to content

Commit

Permalink
Merge pull request #10 from ogmdev/master
Browse files Browse the repository at this point in the history
Display class which implement IListModificator in "Condition modifica…
  • Loading branch information
ctippler authored May 26, 2021
2 parents 90d1eb1 + cdf2dbd commit 35a6239
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,14 @@ public function getClassesAction(Request $request)
foreach ($classes as $class) {
try {
$reflect = new \ReflectionClass($class);
if ($reflect->implementsInterface(
'\\Elements\\Bundle\\ExportToolkitBundle\\ExportService\\IConditionModificator'
if ((
$reflect->implementsInterface(
'\\Elements\\Bundle\\ExportToolkitBundle\\ExportService\\IConditionModificator'
)
||
$reflect->implementsInterface(
'\\Elements\\Bundle\\ExportToolkitBundle\\ExportService\\IListModificator'
)
) && $reflect->isInstantiable()
) {
$implementsIConfig[] = [$class];
Expand Down

0 comments on commit 35a6239

Please sign in to comment.