Skip to content

Commit

Permalink
Symfony events - markup listener
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdotcom committed Oct 14, 2024
1 parent f32cb55 commit a8b5387
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

use bdk\Debug;
use bdk\Debug\Abstraction\Abstraction;
use bdk\Debug\Abstraction\Type;
use bdk\Debug\Collector\DoctrineLogger;
use bdk\Debug\LogEntry;
use Doctrine\Bundle\DoctrineBundle\Registry as DoctrineRegistry;
Expand Down Expand Up @@ -136,7 +137,10 @@ public function onDebugLog(LogEntry $logEntry)
$logEntry['args'] = [
'Notified event "%s" to listener %s',
$matches['event'],
$matches['listener'],
new Abstraction(Type::TYPE_IDENTIFIER, array(
'typeMore' => Type::TYPE_IDENTIFIER_METHOD,
'value' => $matches['listener'],
))
];
}
if ($logEntry->getMeta('psr3level') !== LogLevel::CRITICAL) {
Expand Down

0 comments on commit a8b5387

Please sign in to comment.