src/Cascade.php
public static function fileConfig($resource)
    {
        self::$config = new Config($resource, new ConfigLoader());
        self::$config->load();
        self::$config->configure();
    }
public static function fileConfig($resource)
    {
        self::$config = new Config($resource, new ConfigLoader());
        self::$config->load();
        self::$config->configure();
    }
public static function fileConfig ( $ resource ) { self :: $ config = new Config ( $ resource , new ConfigLoader ( ) ) ; self :: $ config -> load ( ) ; self :: $ config -> configure ( ) ; }
Load configuration options from a file, a JSON or Yaml string or an array.

@param string|array $resource Path to config file or configuration as string or array
Load configuration options from a file a JSON or Yaml string or an array .