colshrapnel / safemysql

A real safe and convenient way to handle MySQL queries.
Apache License 2.0
395 stars 197 forks source link

How to inject safemysql? #51

Closed 8lall0 closed 6 years ago

8lall0 commented 6 years ago

I'm using a dependency injector (Auryn in my case).

I want to inject safemysql with giving it the config array for the connection, so i can use it inside my models by simply instantiating it.

Can you help me?