/** * @param $path */ public static function addConfigFromPath($path) { $config = null; require strval($path); if (is_array($config)) { self::$params = array_merge(self::$params, $config); } }