classes/phing/types/Mapper.php
public function setClasspath(Path $classpath)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        if ($this->classpath === null) {
            $this->classpath = $classpath;
        } else {
            $this->classpath->append($classpath);
        }
    }
public function setClasspath(Path $classpath)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        if ($this->classpath === null) {
            $this->classpath = $classpath;
        } else {
            $this->classpath->append($classpath);
        }
    }
public function setClasspath ( Path $ classpath ) { if ( $ this -> isReference ( ) ) { throw $ this -> tooManyAttributes ( ) ; } if ( $ this -> classpath === null ) { $ this -> classpath = $ classpath ; } else { $ this -> classpath -> append ( $ classpath ) ; } }
Set the classpath to be used when searching for component being defined

@param  Path $classpath An Path object containing the classpath.
@throws BuildException
Set the classpath to be used when searching for component being defined