Skip to content

drewblin/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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%