-
Notifications
You must be signed in to change notification settings - Fork 440
[bundle][dbal] Use doctrine bundle configured connections #732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
use Interop\Queue\ConnectionFactory; | ||
use Symfony\Bridge\Doctrine\RegistryInterface; | ||
|
||
class DoctrineConnectionFactoryFactory implements ConnectionFactoryFactoryInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to enqueue doctrine namespace
*/ | ||
private $parentFactory; | ||
|
||
public function __construct(RegistryInterface $doctrine, ConnectionFactoryFactoryInterface $parentFactory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename parentFactory to fallbackFactory.
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
use Symfony\Component\DependencyInjection\Reference; | ||
|
||
class DoctrineSchemaCompilerPass implements CompilerPassInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to enqueue doctrine namespace
use Enqueue\Dsn\Dsn; | ||
use Interop\Queue\ConnectionFactory; | ||
|
||
class DoctrineDriverFactory implements DriverFactoryInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to enqueue doctrine namespace
This PR adds an option to use a connection configured by doctrine bundle (fixes #601)