classes/phing/tasks/ext/pdepend/PhpDependLoggerElement.php
public function setType($type)
    {
        $this->type = $type;

        switch ($this->type) {
            case 'jdepend-chart':
            case 'jdepend-xml':
            case 'overview-pyramid':
            case 'phpunit-xml':
            case 'summary-xml':
                break;

            default:
                throw new BuildException('Logger "' . $this->type . '" not implemented');
        }
    }
public function setType($type)
    {
        $this->type = $type;

        switch ($this->type) {
            case 'jdepend-chart':
            case 'jdepend-xml':
            case 'overview-pyramid':
            case 'phpunit-xml':
            case 'summary-xml':
                break;

            default:
                throw new BuildException('Logger "' . $this->type . '" not implemented');
        }
    }
public function setType ( $ type ) { $ this -> type = $ type ; switch ( $ this -> type ) { case 'jdepend-chart' : case 'jdepend-xml' : case 'overview-pyramid' : case 'phpunit-xml' : case 'summary-xml' : break ; default : throw new BuildException ( 'Logger "' . $ this -> type . '" not implemented' ) ; } }
Sets the logger type.

@param string $type Type of the logger

@throws BuildException
Sets the logger type .