Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bar committed Mar 27, 2014
1 parent b6cffe6 commit 5d65b99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Core/InstanceConfigTrait.php
Expand Up @@ -65,11 +65,11 @@ trait InstanceConfigTrait {
*
* `$this->config(['one' => 'value', 'another' => 'value']);`
*
* @param string|array|null $key the key to get/set, or a complete array of configs
* @param mixed|null $value the value to set
* @return mixed|this config value being read, or the object itself on write operations
* @param bool $merge whether to merge or overwrite existing config defaults to true
* @throws \Cake\Error\Exception When trying to set a key that is invalid
* @param string|array|null $key The key to get/set, or a complete array of configs.
* @param mixed|null $value The value to set.
* @param bool $merge Whether to merge or overwrite existing config defaults to true.
* @return mixed Config value being read, or the object itself on write operations.
* @throws \Cake\Error\Exception When trying to set a key that is invalid.
*/
public function config($key = null, $value = null, $merge = true) {
if (!$this->_configInitialized) {
Expand Down

0 comments on commit 5d65b99

Please sign in to comment.