Skip to content

Commit

Permalink
Merge pull request #4 from johnkrovitch/feature/add-all-method
Browse files Browse the repository at this point in the history
Add all() method to the configuration class
  • Loading branch information
johnkrovitch authored Nov 23, 2018
2 parents 57ba390 + 138ac22 commit d8608a9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/JK/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function setParameters(array $parameters)
}

/**
* Alias of getParameters().
* Alias of getParameter().
*
* @param string $name
*
Expand All @@ -91,6 +91,16 @@ public function get($name)
return $this->getParameter($name);
}

/**
* Alias of getParameters().
*
* @return array
*/
public function all()
{
return $this->getParameters();
}

/**
* Alias of setParameters();
*
Expand Down

0 comments on commit d8608a9

Please sign in to comment.