Skip to content

code-tool/doctrine-jaeger-symfony-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
        ...

About

Symfony bridge Doctrine DBAL jaeger library

Topics

Resources

License

Stars

6 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages