classes/phing/tasks/ext/RSTTask.php
public function createMapper()
    {
        if ($this->mapperElement !== null) {
            throw new BuildException(
                'Cannot define more than one mapper',
                $this->getLocation()
            );
        }
        $this->mapperElement = new Mapper($this->project);

        return $this->mapperElement;
    }
public function createMapper()
    {
        if ($this->mapperElement !== null) {
            throw new BuildException(
                'Cannot define more than one mapper',
                $this->getLocation()
            );
        }
        $this->mapperElement = new Mapper($this->project);

        return $this->mapperElement;
    }
public function createMapper ( ) { if ( $ this -> mapperElement !== null ) { throw new BuildException ( 'Cannot define more than one mapper' , $ this -> getLocation ( ) ) ; } $ this -> mapperElement = new Mapper ( $ this -> project ) ; return $ this -> mapperElement ; }
Nested creator, creates one Mapper for this task

@return Mapper The created Mapper type object

@throws BuildException
Nested creator creates one Mapper for this task