code-tool / doctrine-jaeger-symfony-bridge
Installs: 32 343
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 3
Open Issues: 0
Requires
- php: ^7.4 || ^8
- code-tool/doctrine-dbal-jaeger: ^1.4
- doctrine/doctrine-bundle: ^1.9 || ^2.0
- symfony/config: ^4.4 || ^5.4 || ^6.0
- symfony/console: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/event-dispatcher: ^4.4 || ^5.4 || ^6.0
- symfony/http-kernel: ^4.4 || ^5.4 || ^6.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Getting started
Register bundle with your kernel:
// config/bundles.php return [ // ... \Doctrine\DBAL\Jaeger\Symfony\DependencyInjection\JaegerDbalBundle::class => ['all' => true], // ... ];
OR
// app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new \Doctrine\DBAL\Jaeger\Symfony\DependencyInjection\JaegerDbalBundle(), ]; // ... } }
Add wrapper class definition in doctrine configuration
doctrine: dbal: connections: %connection_name%: ... wrapper_class: 'Doctrine\DBAL\Jaeger\Wrapper\JaegerConnectionWrapper' ...