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

Public Member Functions

 getValue ($path)
 
 setValue ($path, $value)
 
 isSetFlag ($path)
 

Detailed Description

Backend config accessor @api

Since
100.0.2

Definition at line 15 of file ConfigInterface.php.

Member Function Documentation

◆ getValue()

getValue (   $path)

Retrieve config value by path

Path should looks like keys imploded by "/". For example scopes/stores/admin

Parameters
string$path
Returns
mixed @api

Implemented in Config.

◆ isSetFlag()

isSetFlag (   $path)

Retrieve config flag

Path should looks like keys imploded by "/". For example scopes/stores/admin

Parameters
string$path
Returns
bool @api

Implemented in Config.

◆ setValue()

setValue (   $path,
  $value 
)

Set config value

Deprecated:
100.1.2
Parameters
string$path
mixed$value
Returns
void @api

Implemented in Config.


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