public function showCommand(string $type = 'Settings', string $path = null)
    {
        $availableConfigurationTypes = $this->configurationManager->getAvailableConfigurationTypes();
        if (in_array($type, $availableConfigurationTypes)) {
            $configuration = $this->configurationManager->getConfiguration($type);
            if ($path !== null) {
                $configuration = Arrays::getValueByPath($configuration, $path);
            }
            $typeAndPath = $type . ($path ? ': ' . $path : '');
            if ($configuration === null) {
                $this->outputLine('<b>Configuration "%s" was empty!</b>', [$typeAndPath]);
            } else {
                $yaml = Yaml::dump($configuration, 99);
                $this->outputLine('<b>Configuration "%s":</b>', [$typeAndPath]);
                $this->outputLine();
                $this->outputLine($yaml . chr(10));
            }
        } else {
            $this->outputLine('<b>Configuration type "%s" was not found!</b>', [$type]);
            $this->outputLine('<b>Available configuration types:</b>');
            foreach ($availableConfigurationTypes as $availableConfigurationType) {
                $this->outputLine('  ' . $availableConfigurationType);
            }
            $this->outputLine();
            $this->outputLine('Hint: <b>%s configuration:show --type <configurationType></b>', [$this->getFlowInvocationString()]);
            $this->outputLine('      shows the configuration of the specified type.');
        }
    }
public function showCommand(string $type = 'Settings', string $path = null)
    {
        $availableConfigurationTypes = $this->configurationManager->getAvailableConfigurationTypes();
        if (in_array($type, $availableConfigurationTypes)) {
            $configuration = $this->configurationManager->getConfiguration($type);
            if ($path !== null) {
                $configuration = Arrays::getValueByPath($configuration, $path);
            }
            $typeAndPath = $type . ($path ? ': ' . $path : '');
            if ($configuration === null) {
                $this->outputLine('<b>Configuration "%s" was empty!</b>', [$typeAndPath]);
            } else {
                $yaml = Yaml::dump($configuration, 99);
                $this->outputLine('<b>Configuration "%s":</b>', [$typeAndPath]);
                $this->outputLine();
                $this->outputLine($yaml . chr(10));
            }
        } else {
            $this->outputLine('<b>Configuration type "%s" was not found!</b>', [$type]);
            $this->outputLine('<b>Available configuration types:</b>');
            foreach ($availableConfigurationTypes as $availableConfigurationType) {
                $this->outputLine('  ' . $availableConfigurationType);
            }
            $this->outputLine();
            $this->outputLine('Hint: <b>%s configuration:show --type <configurationType></b>', [$this->getFlowInvocationString()]);
            $this->outputLine('      shows the configuration of the specified type.');
        }
    }
public function showCommand ( string $ type = 'Settings' , string $ path = null ) { $ availableConfigurationTypes = $ this -> configurationManager -> getAvailableConfigurationTypes ( ) ; if ( in_array ( $ type , $ availableConfigurationTypes ) ) { $ configuration = $ this -> configurationManager -> getConfiguration ( $ type ) ; if ( $ path !== null ) { $ configuration = Arrays :: getValueByPath ( $ configuration , $ path ) ; } $ typeAndPath = $ type . ( $ path ? ': ' . $ path : '' ) ; if ( $ configuration === null ) { $ this -> outputLine ( '<b>Configuration "%s" was empty!</b>' , [ $ typeAndPath ] ) ; } else { $ yaml = Yaml :: dump ( $ configuration , 99 ) ; $ this -> outputLine ( '<b>Configuration "%s":</b>' , [ $ typeAndPath ] ) ; $ this -> outputLine ( ) ; $ this -> outputLine ( $ yaml . chr ( 10 ) ) ; } } else { $ this -> outputLine ( '<b>Configuration type "%s" was not found!</b>' , [ $ type ] ) ; $ this -> outputLine ( '<b>Available configuration types:</b>' ) ; foreach ( $ availableConfigurationTypes as $ availableConfigurationType ) { $ this -> outputLine ( '  ' . $ availableConfigurationType ) ; } $ this -> outputLine ( ) ; $ this -> outputLine ( 'Hint: <b>%s configuration:show --type <configurationType></b>' , [ $ this -> getFlowInvocationString ( ) ] ) ; $ this -> outputLine ( '      shows the configuration of the specified type.' ) ; } }
Show the active configuration settings

The command shows the configuration of the current context as it is used by Flow itself.
You can specify the configuration type and path if you want to show parts of the configuration.

Display all settings:
./flow configuration:show

Display Flow persistence settings:
./flow configuration:show --path Neos.Flow.persistence

Display Flow Object Cache configuration
./flow configuration:show --type Caches --path Flow_Object_Classes

@param string $type Configuration type to show, defaults to Settings
@param string $path path to subconfiguration separated by "." like "Neos.Flow"
@return void
Show the active configuration settings