Skip to content
Browse files

Update README.md

  • Loading branch information...
1 parent f2ff601 commit 09889770fbb8d5859e14ec02f51617c5048ac8be @opensourceame committed Dec 20, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
7 README.md
@@ -18,3 +18,10 @@ Config, once parsed, is represented in a namespaced fashion like so:
* server:db:host => localhost
* server:db:db => my_database
+Thus to get the host name for the database server you would:
+
+$config->get('server:db:host')
+
+and, of course, there's an equivalent setter. You can also get multiple options using a wildcard:
+
+$config->get('server:db:*') // returns an array of db settings

0 comments on commit 0988977

Please sign in to comment.
Something went wrong with that request. Please try again.