classes/phing/tasks/system/FailTask.php
public function createCondition()
    {
        if ($this->nestedCondition !== null) {
            throw new BuildException("Only one nested condition is allowed.");
        }
        $this->nestedCondition = new NestedCondition();
        return $this->nestedCondition;
    }
public function createCondition()
    {
        if ($this->nestedCondition !== null) {
            throw new BuildException("Only one nested condition is allowed.");
        }
        $this->nestedCondition = new NestedCondition();
        return $this->nestedCondition;
    }
public function createCondition ( ) { if ( $ this -> nestedCondition !== null ) { throw new BuildException ( "Only one nested condition is allowed." ) ; } $ this -> nestedCondition = new NestedCondition ( ) ; return $ this -> nestedCondition ; }
Add a condition element.

@return NestedCondition
@throws BuildException
Add a condition element .