tasks/system/SequentialTask.php
\SequentialTask
Package: phing\tasks\system
Parameters
Sequential is a container task that contains other Phing Task objects.
The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.
- Implements
- \TaskContainer
- Parent(s)
- \Task < \ProjectComponent
- Since
- 2.1.2
Properties
Methods

addTask(
\Task $nestedTask
)
:
voidAdd a nested task to Sequential.
@param object The task to be added to the container
| Name | Type | Description |
|---|---|---|
| $nestedTask | \Task | Nested task to execute Sequential |

main(
)
:
voidExecute all nestedTasks.
Throws
| Exception | Description |
|---|---|
| \BuildException | if one of the nested tasks fails. |