PHP Class Neos\Flow\Command\ConfigurationCommandController

Inheritance: extends Neos\Flow\Cli\CommandController
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$configurationManager Neos\Flow\Configuration\ConfigurationManager
$configurationSchemaValidator Neos\Flow\Configuration\ConfigurationSchemaValidator
$schemaGenerator Neos\Utility\SchemaGenerator

Méthodes publiques

Méthode 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 méthode

./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
Résultat void

listTypesCommand() public méthode

List registered configuration types
public listTypesCommand ( ) : void
Résultat void

showCommand() public méthode

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"
Résultat void

validateCommand() public méthode

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
Résultat void

Property Details

$configurationManager protected_oe property

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Résultat Neos\Flow\Configuration\ConfigurationManager

$configurationSchemaValidator protected_oe property

protected ConfigurationSchemaValidator,Neos\Flow\Configuration $configurationSchemaValidator
Résultat Neos\Flow\Configuration\ConfigurationSchemaValidator

$schemaGenerator protected_oe property

protected SchemaGenerator,Neos\Utility $schemaGenerator
Résultat Neos\Utility\SchemaGenerator