classes/phing/IntrospectionHelper.php
public function addText(Project $project, $element, $text)
    {
        if ($this->methodAddText === null) {
            $msg = $this->getElementName($project, $element) . " doesn't support nested text data.";
            throw new BuildException($msg);
        }
        try {
            $method = $this->methodAddText;
            $method->invoke($element, $text);
        } catch (Exception $exc) {
            throw new BuildException($exc->getMessage(), $exc);
        }
    }
public function addText(Project $project, $element, $text)
    {
        if ($this->methodAddText === null) {
            $msg = $this->getElementName($project, $element) . " doesn't support nested text data.";
            throw new BuildException($msg);
        }
        try {
            $method = $this->methodAddText;
            $method->invoke($element, $text);
        } catch (Exception $exc) {
            throw new BuildException($exc->getMessage(), $exc);
        }
    }
public function addText ( Project $ project , $ element , $ text ) { if ( $ this -> methodAddText === null ) { $ msg = $ this -> getElementName ( $ project , $ element ) . " doesn't support nested text data." ; throw new BuildException ( $ msg ) ; } try { $ method = $ this -> methodAddText ; $ method -> invoke ( $ element , $ text ) ; } catch ( Exception $ exc ) { throw new BuildException ( $ exc -> getMessage ( ) , $ exc ) ; } }
Adds PCDATA areas.

@param  Project $project
@param  string $element
@param  string $text
@throws BuildException
Adds PCDATA areas .