classes/phing/types/Path.php
public function append(Path $other)
    {
        if ($other === null) {
            return;
        }
        $l = $other->listPaths();
        foreach ($l as $path) {
            if (!in_array($path, $this->elements, true)) {
                $this->elements[] = $path;
            }
        }
    }
public function append(Path $other)
    {
        if ($other === null) {
            return;
        }
        $l = $other->listPaths();
        foreach ($l as $path) {
            if (!in_array($path, $this->elements, true)) {
                $this->elements[] = $path;
            }
        }
    }
public function append ( Path $ other ) { if ( $ other === null ) { return ; } $ l = $ other -> listPaths ( ) ; foreach ( $ l as $ path ) { if ( ! in_array ( $ path , $ this -> elements , true ) ) { $ this -> elements [ ] = $ path ; } } }
Append the contents of the other Path instance to this.

@param Path $other

@return void

@throws BuildException
Append the contents of the other Path instance to this .