src/Observers/AbstractObserver.php
protected function getCoreConfigData($path, $default = null, $scope = ScopeKeys::SCOPE_DEFAULT, $scopeId = 0)
    {
        return $this->getSubject()->getCoreConfigData($path, $default, $scope, $scopeId);
    }
protected function getCoreConfigData($path, $default = null, $scope = ScopeKeys::SCOPE_DEFAULT, $scopeId = 0)
    {
        return $this->getSubject()->getCoreConfigData($path, $default, $scope, $scopeId);
    }
Return's the Magento configuration value.

@param string  $path    The Magento path of the requested configuration value
@param mixed   $default The default value that has to be returned, if the requested configuration value is not set
@param string  $scope   The scope the configuration value has been set
@param integer $scopeId The scope ID the configuration value has been set

@return mixed The configuration value
@throws \Exception Is thrown, if nor a value can be found or a default value has been passed
@deprecated Will be removed with version 1.0.0, use subject method instead

@codeCoverageIgnore