public function addResource($resource, $prefix = null)
    {
        $this->resources[] = [$resource, $prefix, true];

        return $this;
    }
public function addResource($resource, $prefix = null)
    {
        $this->resources[] = [$resource, $prefix, true];

        return $this;
    }
public function addResource ( $ resource , $ prefix = null ) { $ this -> resources [ ] = [ $ resource , $ prefix , true ] ; return $ this ; }
Add a resource to load configuration values from.

@param mixed       $resource
@param string|null $prefix   The prefix to give the values, if any
Add a resource to load configuration values from .