PHP Class Neos\Flow\Command\ConfigurationCommandController

Inheritance: extends Neos\Flow\Cli\CommandController
Datei anzeigen Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$configurationManager Neos\Flow\Configuration\ConfigurationManager
$configurationSchemaValidator Neos\Flow\Configuration\ConfigurationSchemaValidator
$schemaGenerator Neos\Utility\SchemaGenerator

Public Methods

Method Description
generateSchemaCommand ( string $type = null, string $path = null, string $yaml = null ) : void Generate a schema for the given configuration or YAML file.
listTypesCommand ( ) : void List registered configuration types
showCommand ( string $type = null, string $path = null ) : void Show the active configuration settings
validateCommand ( string $type = null, string $path = null, boolean $verbose = false ) : void Validate the given configuration

Method Details

generateSchemaCommand() public method

./flow configuration:generateschema --type Settings --path Neos.Flow.persistence The schema will be output to standard output.
public generateSchemaCommand ( string $type = null, string $path = null, string $yaml = null ) : void
$type string Configuration type to create a schema for
$path string path to the subconfiguration separated by "." like "Neos.Flow"
$yaml string YAML file to create a schema for
return void

listTypesCommand() public method

List registered configuration types
public listTypesCommand ( ) : void
return void

showCommand() public method

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. ./flow configuration:show --type Settings --path Neos.Flow.persistence
public showCommand ( string $type = null, string $path = null ) : void
$type string Configuration type to show
$path string path to subconfiguration separated by "." like "Neos.Flow"
return void

validateCommand() public method

Validate all configuration ./flow configuration:validate Validate configuration at a certain subtype ./flow configuration:validate --type Settings --path Neos.Flow.persistence You can retrieve the available configuration types with: ./flow configuration:listtypes
public validateCommand ( string $type = null, string $path = null, boolean $verbose = false ) : void
$type string Configuration type to validate
$path string path to the subconfiguration separated by "." like "Neos.Flow"
$verbose boolean if TRUE, output more verbose information on the schema files which were used
return void

Property Details

$configurationManager protected_oe property

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
return Neos\Flow\Configuration\ConfigurationManager

$configurationSchemaValidator protected_oe property

protected ConfigurationSchemaValidator,Neos\Flow\Configuration $configurationSchemaValidator
return Neos\Flow\Configuration\ConfigurationSchemaValidator

$schemaGenerator protected_oe property

protected SchemaGenerator,Neos\Utility $schemaGenerator
return Neos\Utility\SchemaGenerator