We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi This is a great Plugin .. I am not able to connect to mongodb using API. Please help?
Thanks in advance, sharma
The text was updated successfully, but these errors were encountered:
Hi ,
I am using mysql by using pimple()
$app->container = new Pimple();
$app->container['database'] = function() { $host = 'localhost'; $dbName = 'codesnippets'; $user = 'root'; $pass = '';
return new \PDO("mysql:host={$host};dbname={$dbName}", $user, $pass);
};
//print_r($app->container['database']) ;
How to use below code as per the above? $app->container['dataStore'] = function ($c) { return new DataStore($c['database']); };
I am not able to get $this->container['database''] in the corresponding controllerClass.php
Please help me how to use this datastore..
Thanks, sharma
Sorry, something went wrong.
I solved it using Redbeans ORM... No need of pimple or class injection..
Simple changes to dispatch file and your service class.. Please let me know any one needs help..
No branches or pull requests
Hi
This is a great Plugin ..
I am not able to connect to mongodb using API. Please help?
Thanks in advance,
sharma
The text was updated successfully, but these errors were encountered: