private function buildSourcePaths(SimpleXMLElement $phpDocumentor): array
    {
        $sourcePaths = [];
        $directories = $this->buildDirectories($phpDocumentor);

        foreach ($directories as $directory) {
            $sourcePaths[] = (new Dsn($directory))->getPath();
        }

        return $sourcePaths;
    }
private function buildSourcePaths(SimpleXMLElement $phpDocumentor): array
    {
        $sourcePaths = [];
        $directories = $this->buildDirectories($phpDocumentor);

        foreach ($directories as $directory) {
            $sourcePaths[] = (new Dsn($directory))->getPath();
        }

        return $sourcePaths;
    }
private function buildSourcePaths ( SimpleXMLElement $ phpDocumentor ) : array { $ sourcePaths = [ ] ; $ directories = $ this -> buildDirectories ( $ phpDocumentor ) ; foreach ( $ directories as $ directory ) { $ sourcePaths [ ] = ( new Dsn ( $ directory ) ) -> getPath ( ) ; } return $ sourcePaths ; }
Builds the sourcePaths part of the array from the configuration xml.

@return Path[]
Builds the sourcePaths part of the array from the configuration xml .