ConfigDebugCommand
extends AbstractConfigCommand
in package
A console command for dumping available configuration reference.
Tags
Table of Contents
- $defaultDescription : mixed
- $defaultName : mixed
- complete() : void
- validateConfiguration() : mixed
- configure() : mixed
- {@inheritdoc}
- execute() : int
- {@inheritdoc}
- findExtension() : ExtensionInterface
- listBundles() : mixed
- listNonBundleExtensions() : mixed
- buildPathsCompletion() : array<string|int, mixed>
- compileContainer() : ContainerBuilder
- getAvailableBundles() : array<string|int, mixed>
- getAvailableExtensions() : array<string|int, mixed>
- getConfig() : mixed
- getConfigForExtension() : array<string|int, mixed>
- getConfigForPath() : mixed
- Iterate over configuration until the last step of the given path.
- initializeBundles() : mixed
Properties
$defaultDescription
protected
static mixed
$defaultDescription
= 'Dump the current configuration for an extension'
$defaultName
protected
static mixed
$defaultName
= 'debug:config'
Methods
complete()
public
complete(CompletionInput $input, CompletionSuggestions $suggestions) : void
Parameters
- $input : CompletionInput
- $suggestions : CompletionSuggestions
Return values
void —validateConfiguration()
public
validateConfiguration(ExtensionInterface $extension, mixed $configuration) : mixed
Parameters
- $extension : ExtensionInterface
- $configuration : mixed
Return values
mixed —configure()
{@inheritdoc}
protected
configure() : mixed
Return values
mixed —execute()
{@inheritdoc}
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
int —findExtension()
protected
findExtension(string $name) : ExtensionInterface
Parameters
- $name : string
Return values
ExtensionInterface —listBundles()
protected
listBundles(OutputInterface|StyleInterface $output) : mixed
Parameters
- $output : OutputInterface|StyleInterface
Return values
mixed —listNonBundleExtensions()
protected
listNonBundleExtensions(OutputInterface|StyleInterface $output) : mixed
Parameters
- $output : OutputInterface|StyleInterface
Return values
mixed —buildPathsCompletion()
private
static buildPathsCompletion(array<string|int, mixed> $paths[, string $prefix = '' ]) : array<string|int, mixed>
Parameters
- $paths : array<string|int, mixed>
- $prefix : string = ''
Return values
array<string|int, mixed> —compileContainer()
private
compileContainer() : ContainerBuilder
Return values
ContainerBuilder —getAvailableBundles()
private
getAvailableBundles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAvailableExtensions()
private
getAvailableExtensions() : array<string|int, mixed>
Return values
array<string|int, mixed> —getConfig()
private
getConfig(ExtensionInterface $extension, ContainerBuilder $container) : mixed
Parameters
- $extension : ExtensionInterface
- $container : ContainerBuilder
Return values
mixed —getConfigForExtension()
private
getConfigForExtension(ExtensionInterface $extension, ContainerBuilder $container) : array<string|int, mixed>
Parameters
- $extension : ExtensionInterface
- $container : ContainerBuilder
Return values
array<string|int, mixed> —getConfigForPath()
Iterate over configuration until the last step of the given path.
private
getConfigForPath(array<string|int, mixed> $config, string $path, string $alias) : mixed
Parameters
- $config : array<string|int, mixed>
- $path : string
- $alias : string
Tags
Return values
mixed —initializeBundles()
private
initializeBundles() : mixed