PHP Class MageConfigSync\ConfigYaml

Afficher le fichier Open project: punkstar/mageconfigsync Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $data, $environment = false )
build ( ConfigurationAdapter $config_adapter, boolean $environment = false ) : ConfigYaml
buildScopeKey ( $scope, $scope_id ) : string
compare ( ConfigYaml $a, ConfigYaml $b ) : array
extractFromScopeKey ( $scope_key ) : array
getData ( )
toArray ( boolean $forced_environment = false ) : array
toYaml ( boolean $forced_environment = false ) : string

Method Details

__construct() public méthode

public __construct ( array $data, $environment = false )
$data array

build() public static méthode

public static build ( ConfigurationAdapter $config_adapter, boolean $environment = false ) : ConfigYaml
$config_adapter MageConfigSync\Magento\ConfigurationAdapter
$environment boolean
Résultat ConfigYaml

buildScopeKey() public static méthode

public static buildScopeKey ( $scope, $scope_id ) : string
$scope
$scope_id
Résultat string

compare() public static méthode

public static compare ( ConfigYaml $a, ConfigYaml $b ) : array
$a ConfigYaml
$b ConfigYaml
Résultat array

extractFromScopeKey() public static méthode

public static extractFromScopeKey ( $scope_key ) : array
$scope_key
Résultat array

getData() public méthode

public getData ( )

toArray() public méthode

public toArray ( boolean $forced_environment = false ) : array
$forced_environment boolean
Résultat array

toYaml() public méthode

public toYaml ( boolean $forced_environment = false ) : string
$forced_environment boolean
Résultat string