private function buildGuide(SimpleXMLElement $guide): array
    {
        return [
            'format' => ((string) $guide->attributes()->format) ?: 'rst',
            'source' => [
                'dsn' => ((string) $guide->source->attributes()->dsn) ?: 'file://.',
                'paths' => ((array) $guide->source->path) ?: [''],
            ],
        ];
    }
private function buildGuide(SimpleXMLElement $guide): array
    {
        return [
            'format' => ((string) $guide->attributes()->format) ?: 'rst',
            'source' => [
                'dsn' => ((string) $guide->source->attributes()->dsn) ?: 'file://.',
                'paths' => ((array) $guide->source->path) ?: [''],
            ],
        ];
    }
private function buildGuide ( SimpleXMLElement $ guide ) : array { return [ 'format' => ( ( string ) $ guide -> attributes ( ) -> format ) ? : 'rst' , 'source' => [ 'dsn' => ( ( string ) $ guide -> source -> attributes ( ) -> dsn ) ? : 'file://.' , 'paths' => ( ( array ) $ guide -> source -> path ) ? : [ '' ] , ] , ] ; }
Builds the guide part of the array from the configuration xml.
Builds the guide part of the array from the configuration xml .