Symfony\Bundle\FrameworkBundle\Command\ContainerDebugCommand
A console command for retrieving information about services
- Author: Ryan Weaver <ryan@thatsquality.com>
Synopsis
class ContainerDebugCommand
extends ContainerAwareCommand
{
- // members
- protected ContainerBuilder|null $containerBuilder;
- // methods
- protected void configure()
- protected void execute()
- protected void validateInput()
- protected void outputServices()
- protected void buildArgumentsArray()
- protected void outputService()
- protected void outputParameters()
- protected ContainerBuilder getContainerBuilder()
- protected Definition|Alias resolveServiceDefinition()
- protected void outputTags()
- protected void formatParameter()
- // Inherited methods from ContainerAwareCommand
- protected ContainerInterface getContainer()
- public void setContainer()
- // Inherited methods from Command
- public void __construct()
- public void ignoreValidationErrors()
- public void setApplication()
- public void setHelperSet()
- public HelperSet getHelperSet()
- public Application getApplication()
- public Boolean isEnabled()
- protected void configure()
- protected null|integer execute()
- protected void interact()
- protected void initialize()
- public integer run()
- public Command setCode()
- public void mergeApplicationDefinition()
- public Command setDefinition()
- public InputDefinition getDefinition()
- public InputDefinition getNativeDefinition()
- public Command addArgument()
- public Command addOption()
- public Command setName()
- public string getName()
- public Command setDescription()
- public string getDescription()
- public Command setHelp()
- public string getHelp()
- public string getProcessedHelp()
- public Command setAliases()
- public array getAliases()
- public string getSynopsis()
- public mixed getHelper()
- public string asText()
- public DOMDocument asXml()
Hierarchy
Extends
Extended by
Members
protected
- $containerBuilder — Symfony\Bundle\FrameworkBundle\Command\ContainerBuilder|null
Methods
protected
- buildArgumentsArray()
- configure() — {@inheritdoc}
- execute() — {@inheritdoc}
- formatParameter()
- getContainerBuilder() — Loads the ContainerBuilder from the cache.
- outputParameters()
- outputService() — Renders detailed service information about one service
- outputServices()
- outputTags() — Renders list of tagged services grouped by tag
- resolveServiceDefinition() — Given an array of service IDs, this returns the array of corresponding Definition and Alias objects that those ids represent.
- validateInput()
Inherited from Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
protected
public
- setContainer() — {@inheritdoc}
Inherited from Symfony\Component\Console\Command\Command
protected
- configure() — Configures the current command.
- execute() — Executes the current command.
- initialize() — Initializes the command just after the input has been validated.
- interact() — Interacts with the user.
public
- addArgument() — Adds an argument.
- addOption() — Adds an option.
- asText() — Returns a text representation of the command.
- asXml() — Returns an XML representation of the command.
- getAliases() — Returns the aliases for the command.
- getApplication() — Gets the application instance for this command.
- getDefinition() — Gets the InputDefinition attached to this Command.
- getDescription() — Returns the description for the command.
- getHelp() — Returns the help for the command.
- getHelper() — Gets a helper instance by name.
- getHelperSet() — Gets the helper set.
- getName() — Returns the command name.
- getNativeDefinition() — Gets the InputDefinition to be used to create XML and Text representations of this Command.
- getProcessedHelp() — Returns the processed help for the command replacing the %command.name% and %command.full_name% patterns with the real values dynamically.
- getSynopsis() — Returns the synopsis for the command.
- ignoreValidationErrors() — Ignores validation errors.
- isEnabled() — Checks whether the command is enabled or not in the current environment
- mergeApplicationDefinition() — Merges the application definition with the command definition.
- run() — Runs the command.
- setAliases() — Sets the aliases for the command.
- setApplication() — Sets the application instance for this command.
- setCode() — Sets the code to execute when running this command.
- setDefinition() — Sets an array of argument and option instances.
- setDescription() — Sets the description for the command.
- setHelp() — Sets the help for the command.
- setHelperSet() — Sets the helper set.
- setName() — Sets the name of the command.