Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
44c11ca2
Commit
44c11ca2
authored
Sep 13, 2012
by
Denis Roussel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aren't parameters set after the provider is registered ?
fabpot/Silex@9766faf0616a67cd0ff7437950d5453deebac9c4
parent
a9e34f08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/providers.rst
doc/providers.rst
+1
-1
No files found.
doc/providers.rst
View file @
44c11ca2
...
...
@@ -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** is booted
:
$app->register(new Acme\DatabaseServiceProvider(), array(
'database.dsn' => 'mysql:host=localhost;dbname=myapp',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment