private function buildTableRows(array $loaderPaths): array
    {
        $rows             = [];
        $firstNamespace   = true;
        $prevHasSeparator = false;

        foreach ($loaderPaths as $namespace => $paths) {
            if (! $firstNamespace && ! $prevHasSeparator && \count($paths) > 1) {
                $rows[] = ['', ''];
            }

            $firstNamespace = false;

            foreach ($paths as $path) {
                $rows[]    = [$namespace, '- ' . $path];
                $namespace = '';
            }

            if (\count($paths) > 1) {
                $rows[]           = ['', ''];
                $prevHasSeparator = true;
            } else {
                $prevHasSeparator = false;
            }
        }

        if ($prevHasSeparator) {
            \array_pop($rows);
        }

        return $rows;
    }
private function buildTableRows(array $loaderPaths): array
    {
        $rows             = [];
        $firstNamespace   = true;
        $prevHasSeparator = false;

        foreach ($loaderPaths as $namespace => $paths) {
            if (! $firstNamespace && ! $prevHasSeparator && \count($paths) > 1) {
                $rows[] = ['', ''];
            }

            $firstNamespace = false;

            foreach ($paths as $path) {
                $rows[]    = [$namespace, '- ' . $path];
                $namespace = '';
            }

            if (\count($paths) > 1) {
                $rows[]           = ['', ''];
                $prevHasSeparator = true;
            } else {
                $prevHasSeparator = false;
            }
        }

        if ($prevHasSeparator) {
            \array_pop($rows);
        }

        return $rows;
    }
private function buildTableRows ( array $ loaderPaths ) : array { $ rows = [ ] ; $ firstNamespace = true ; $ prevHasSeparator = false ; foreach ( $ loaderPaths as $ namespace => $ paths ) { if ( ! $ firstNamespace && ! $ prevHasSeparator && \ count ( $ paths ) > 1 ) { $ rows [ ] = [ '' , '' ] ; } $ firstNamespace = false ; foreach ( $ paths as $ path ) { $ rows [ ] = [ $ namespace , '- ' . $ path ] ; $ namespace = '' ; } if ( \ count ( $ paths ) > 1 ) { $ rows [ ] = [ '' , '' ] ; $ prevHasSeparator = true ; } else { $ prevHasSeparator = false ; } } if ( $ prevHasSeparator ) { \ array_pop ( $ rows ) ; } return $ rows ; }
Build configured path table.

@param array $loaderPaths

@return array
Build configured path table .