Skip to content

Commit

Permalink
Merge pull request #79 from pilot911/patch-2
Browse files Browse the repository at this point in the history
Update to possibility decorate it and extend
  • Loading branch information
faustbrian authored Feb 7, 2017
2 parents 7bde848 + 2fc68ac commit f57877e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Helpers/ConfigRetriever.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function fromServices($providerName, array $additionalConfigKeys = [])
*
* @return array
*/
private function getConfigItems(array $configKeys, \Closure $keyRetrievalClosure)
protected function getConfigItems(array $configKeys, \Closure $keyRetrievalClosure)
{
if (count($configKeys) < 1) {
return [];
Expand All @@ -97,7 +97,7 @@ private function getConfigItems(array $configKeys, \Closure $keyRetrievalClosure
*
* @return array
*/
private function retrieveItemsFromConfig(array $keys, \Closure $keyRetrievalClosure)
protected function retrieveItemsFromConfig(array $keys, \Closure $keyRetrievalClosure)
{
$out = [];

Expand All @@ -115,7 +115,7 @@ private function retrieveItemsFromConfig(array $keys, \Closure $keyRetrievalClos
*
* @return string
*/
private function getFromServices($key)
protected function getFromServices($key)
{
$keyExists = array_key_exists($key, $this->servicesArray);

Expand All @@ -139,7 +139,7 @@ private function getFromServices($key)
*
* @return string
*/
private function getFromEnv($key)
protected function getFromEnv($key)
{
$providerKey = "{$this->providerIdentifier}_{$key}";
$item = env($providerKey);
Expand Down Expand Up @@ -202,7 +202,7 @@ protected function getConfigFromServicesArray($providerName)
*
* @return bool
*/
private function isAdditionalConfig($key)
protected function isAdditionalConfig($key)
{
return in_array(strtolower($key), $this->additionalConfigKeys);
}
Expand Down

0 comments on commit f57877e

Please sign in to comment.