public function loadFlat($resource, $type = null, $require = false)
    {
        return ArrayUtil::flatten($this->load($resource, $type, $require));
    }
public function loadFlat($resource, $type = null, $require = false)
    {
        return ArrayUtil::flatten($this->load($resource, $type, $require));
    }
public function loadFlat ( $ resource , $ type = null , $ require = false ) { return ArrayUtil :: flatten ( $ this -> load ( $ resource , $ type , $ require ) ) ; }
Loads the configuration data from a resource and returns it flattened.

@param mixed   $resource A resource.
@param string  $type     The resource type.
@param boolean $require  Require processing?

@return array The data.
Loads the configuration data from a resource and returns it flattened .