The database name will come from extension configuration

Sent from my Nexus One
On Feb 13, 2011 7:24 PM, "Michael" <[email protected]> wrote:
> I think the second parameter should be the database name
> ...
> $odmDmArgs = array(
> new Reference(sprintf('doctrine.odm.mongodb.
> %s_connection', isset($documentManager['connection']) ?
> $documentManager['connection'] : $documentManager['name'])),
> 'test',
> new Reference(sprintf('doctrine.odm.mongodb.
> %s_configuration', $documentManager['name'])),
> new Reference($eventManagerId),
> );
> $odmDmDef = new
> Definition('%doctrine.odm.mongodb.document_manager_class%',
> $odmDmArgs);
> ...
>
> Maybe add a db.name to the configuration to make it more dynamic
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to