Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ScopeConfig Class Reference
Inheritance diagram for ScopeConfig:

Public Member Functions

 get ($filename, $scope)
 

Detailed Description

Provides MTF configuration file from specified scope.

Definition at line 14 of file ScopeConfig.php.

Member Function Documentation

◆ get()

get (   $filename,
  $scope 
)

Retrieve the configuration file with given name that relate to MTF global configuration.

Parameters
string$filename
string$scope
Returns
File|array

Definition at line 23 of file ScopeConfig.php.

24  {
25  return new File([MTF_BP . DIRECTORY_SEPARATOR . $scope . DIRECTORY_SEPARATOR . $filename]);
26  }
defined('MTF_TESTS_PATH')||define('MTF_TESTS_PATH' MTF_BP
Definition: bootstrap.php:10

The documentation for this class was generated from the following file: