Symfony\Bundle\AsseticBundle\Command\DumpCommand
Dumps assets to the filesystem.
- Author: Kris Wallsmith <kris@symfony.com>
Synopsis
class DumpCommand
extends ContainerAwareCommand
{
- // methods
- protected void configure()
- protected void initialize()
- protected void execute()
- private void watch()
- private Boolean checkAsset()
- private void dumpAsset()
- private void doDump()
- private void getAssetVarCombinations()
- // 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
Members
private
- $am
- $basePath
- $verbose
Methods
private
- checkAsset() — Checks if an asset should be dumped.
- doDump() — Performs the asset dump.
- dumpAsset() — Writes an asset.
- getAssetVarCombinations()
- watch() — Watches the asset manager for changes.
protected
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.