classes/phing/types/selectors/MappingSelector.php
public function addConfigured(FileNameMapper $fileNameMapper)
    {
        if ($this->map !== null || $this->mapperElement !== null) {
            throw new BuildException('Cannot define more than one mapper');
        }
        $this->map = $fileNameMapper;
    }
public function addConfigured(FileNameMapper $fileNameMapper)
    {
        if ($this->map !== null || $this->mapperElement !== null) {
            throw new BuildException('Cannot define more than one mapper');
        }
        $this->map = $fileNameMapper;
    }
public function addConfigured ( FileNameMapper $ fileNameMapper ) { if ( $ this -> map !== null || $ this -> mapperElement !== null ) { throw new BuildException ( 'Cannot define more than one mapper' ) ; } $ this -> map = $ fileNameMapper ; }
Add a configured FileNameMapper instance.

@param FileNameMapper $fileNameMapper the FileNameMapper to add

@throws BuildException if more than one mapper defined
Add a configured FileNameMapper instance .