private function buildOutputDirectory(SimpleXMLElement $phpDocumentor): string
    {
        if ((array) $phpDocumentor->transformer === []) {
            return $this->outputDirectory;
        }

        if ((string) $phpDocumentor->transformer->target === '') {
            return $this->outputDirectory;
        }

        return (string) $phpDocumentor->transformer->target;
    }
private function buildOutputDirectory(SimpleXMLElement $phpDocumentor): string
    {
        if ((array) $phpDocumentor->transformer === []) {
            return $this->outputDirectory;
        }

        if ((string) $phpDocumentor->transformer->target === '') {
            return $this->outputDirectory;
        }

        return (string) $phpDocumentor->transformer->target;
    }
private function buildOutputDirectory ( SimpleXMLElement $ phpDocumentor ) : string { if ( ( array ) $ phpDocumentor -> transformer === [ ] ) { return $ this -> outputDirectory ; } if ( ( string ) $ phpDocumentor -> transformer -> target === '' ) { return $ this -> outputDirectory ; } return ( string ) $ phpDocumentor -> transformer -> target ; }
Builds the outputDirectory part of the array from the configuration xml.
Builds the outputDirectory part of the array from the configuration xml .