Hi all,

I would like some input on how best to implement the following.

I have a vendor specific library, fully namespaced 5.3, that I currently 
have in /vendor/this-library/lib/Namespace
This library is a vendor specific wrapper for OAuth and the vendor's API.

What I would like to know is how best to do the following,
The Namespace/Client.php class requires an OAuth instance to perform 
anything, I would like the OAuth instance to be configured with a couple of 
things from config.yml (or somewhere) and be passed into the 
Namespace/Client.php constructor when I call it from the DIC get method.

I have read the docs of the DIC a couple of times but would be grateful if 
someone could be a little more specific in implementing this.

Do I need to create a Bundle for my vendor library?
If so, what would that need to do to achieve this?


Many thanks!
Chris Sedlmayr (catchamonkey)

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to