antonioribeiro / support

Support Classes
BSD 3-Clause "New" or "Revised" License
59 stars 49 forks source link

Config file #9

Closed lazosweb closed 7 years ago

lazosweb commented 7 years ago

I was just wondering,

public function get($key, $default = null) { return $this->config->get($this->namespace.$key, $default); }

It should not have been $this->namespace.'.'.$key???

antonioribeiro commented 7 years ago

Nope, because of this code:

return new Config($app['config'], $this->packageNamespace . ( ! isLaravel5() ? '::' : '.'));

The set() was wrong, but it was not being used.