close
The Wayback Machine - https://web.archive.org/web/20200919150711/https://github.com/code-tool/doctrine-jaeger-symfony-bridge
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

Symfony Bridge for Doсtrine Jaeger library

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'
        ...
You can’t perform that action at this time.