public function getConfiguration(string $configurationType, string $configurationPath = null)
    {
        if (empty($this->configurations[$configurationType])) {
            $this->loadConfiguration($configurationType, $this->packages);
        }

        $configuration = $this->configurations[$configurationType] ?? [];
        if ($configurationPath === null || $configuration === null) {
            return $configuration;
        }

        return (Arrays::getValueByPath($configuration, $configurationPath));
    }
public function getConfiguration(string $configurationType, string $configurationPath = null)
    {
        if (empty($this->configurations[$configurationType])) {
            $this->loadConfiguration($configurationType, $this->packages);
        }

        $configuration = $this->configurations[$configurationType] ?? [];
        if ($configurationPath === null || $configuration === null) {
            return $configuration;
        }

        return (Arrays::getValueByPath($configuration, $configurationPath));
    }
public function getConfiguration ( string $ configurationType , string $ configurationPath = null ) { if ( empty ( $ this -> configurations [ $ configurationType ] ) ) { $ this -> loadConfiguration ( $ configurationType , $ this -> packages ) ; } $ configuration = $ this -> configurations [ $ configurationType ] ?? [ ] ; if ( $ configurationPath === null || $ configuration === null ) { return $ configuration ; } return ( Arrays :: getValueByPath ( $ configuration , $ configurationPath ) ) ; }
Returns the specified raw configuration.
The actual configuration will be merged from different sources in a defined order.

Note that this is a low level method and mostly makes sense to be used by Flow internally.
If possible just use settings and have them injected.

@param string $configurationType The kind of configuration to fetch - must be one of the CONFIGURATION_TYPE_* constants
@param string $configurationPath The path inside the configuration to fetch
@return array|null The configuration or NULL if the configuration doesn't exist
@throws Exception\InvalidConfigurationTypeException on invalid configuration types
Returns the specified raw configuration . The actual configuration will be merged from different sources in a defined order .