Commit ebe63c50 authored by Fabien Potencier's avatar Fabien Potencier

merged branch KuiKui/patch-1 (PR #486)

This PR was merged into the master branch.

Commits
-------

26c50d4a Grammar tweak
44c11ca2 Aren't parameters set after the provider is registered ?

Discussion
----------

Aren't parameters set after the provider is registered ?

fabpot/Silex@9766faf0616a67cd0ff7437950d5453deebac9c4

---------------------------------------------------------------------------

by igorw at 2012-10-01T14:19:19Z

👍
parents 97b7dc57 26c50d4a
......@@ -20,7 +20,7 @@ application::
$app->register(new Acme\DatabaseServiceProvider());
You can also provide some parameters as a second argument. These
will be set **before** the provider is registered::
will be set **after** the provider is registered, but **before** it is booted:
$app->register(new Acme\DatabaseServiceProvider(), array(
'database.dsn' => 'mysql:host=localhost;dbname=myapp',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment