PHP Класс Neos\Flow\Command\ConfigurationCommandController

Наследование: extends Neos\Flow\Cli\CommandController
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$configurationManager Neos\Flow\Configuration\ConfigurationManager
$configurationSchemaValidator Neos\Flow\Configuration\ConfigurationSchemaValidator
$schemaGenerator Neos\Utility\SchemaGenerator

Открытые методы

Метод Описание
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

Описание методов

generateSchemaCommand() публичный Метод

./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
Результат void

listTypesCommand() публичный Метод

List registered configuration types
public listTypesCommand ( ) : void
Результат void

showCommand() публичный Метод

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"
Результат void

validateCommand() публичный Метод

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
Результат void

Описание свойств

$configurationManager защищенное свойство

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Результат Neos\Flow\Configuration\ConfigurationManager

$configurationSchemaValidator защищенное свойство

protected ConfigurationSchemaValidator,Neos\Flow\Configuration $configurationSchemaValidator
Результат Neos\Flow\Configuration\ConfigurationSchemaValidator

$schemaGenerator защищенное свойство

protected SchemaGenerator,Neos\Utility $schemaGenerator
Результат Neos\Utility\SchemaGenerator