C.78 SymfonyConsoleTask
Prev | Appendix C. Optional tasks | Next

## C.78 SymfonyConsoleTask

Executes Symfony2 console commands

Table C.107: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
command | String | The Symfony Console command to execute | n/a | Yes
console | String | The path to symfony console application | app/console | No

### C.78.1 Examples

Simple example

    <SymfonyConsole command="cache:clear"/>

Complex example

    <SymfonyConsole command="cache:warmup">
      <arg name="env" value="prod" />
      <arg value="some/path/or/single/value" quotes="true">
    </SymfonyConsole>

### C.78.2 Supported Nested Tags

- `arg`

  Table C.108: Attributes

  Name | Type | Description | Default | Required
  --- | --- | --- | --- | ---
  name | String | the name for this argument, -- will be appended | n/a | No
  value | String | the value for the argument | n/a | No
  quotes | String | set to true if the value should be enclosed in double quotes | false | No

Prev | Up | Next
C.77 StopwatchTask | Home | C.79 SymlinkTask