private function buildDefaultPackageName(SimpleXMLElement $phpDocumentor): string
    {
        if ((array) $phpDocumentor->parser === []) {
            return $this->defaultPackageName;
        }

        if ((string) $phpDocumentor->parser->{'default-package-name'} === '') {
            return $this->defaultPackageName;
        }

        return (string) $phpDocumentor->parser->{'default-package-name'};
    }
private function buildDefaultPackageName(SimpleXMLElement $phpDocumentor): string
    {
        if ((array) $phpDocumentor->parser === []) {
            return $this->defaultPackageName;
        }

        if ((string) $phpDocumentor->parser->{'default-package-name'} === '') {
            return $this->defaultPackageName;
        }

        return (string) $phpDocumentor->parser->{'default-package-name'};
    }
private function buildDefaultPackageName ( SimpleXMLElement $ phpDocumentor ) : string { if ( ( array ) $ phpDocumentor -> parser === [ ] ) { return $ this -> defaultPackageName ; } if ( ( string ) $ phpDocumentor -> parser -> { 'default-package-name' } === '' ) { return $ this -> defaultPackageName ; } return ( string ) $ phpDocumentor -> parser -> { 'default-package-name' } ; }
Builds the defaultPackageName part of the array from the configuration xml.
Builds the defaultPackageName part of the array from the configuration xml .