Executes Symfony2 console commands
Table C.117: 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 | bin/console | No |
debug | Boolean | The symfony cli debug mode | true | No |
silent | Boolean | Disable task output except errors. Use in conjunction with additional output helper like Symfonys ProgressBar | false | No |
propertyName | String | The name of the property to store the application output in | n/a | No |
checkReturn | Boolean | Whether to check the return code. | false | No |
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>