src/Service/PDF.php
function flipDiagonally($arr)
    {
        $out = array();
        foreach ($arr as $key => $subarr) {
            foreach ($subarr as $subkey => $subvalue) {
                $out[$subkey][$key] = $subvalue;
            }
        }
        return $out;
    }
function flipDiagonally($arr)
    {
        $out = array();
        foreach ($arr as $key => $subarr) {
            foreach ($subarr as $subkey => $subvalue) {
                $out[$subkey][$key] = $subvalue;
            }
        }
        return $out;
    }
function flipDiagonally ( $ arr ) { $ out = array ( ) ; foreach ( $ arr as $ key => $ subarr ) { foreach ( $ subarr as $ subkey => $ subvalue ) { $ out [ $ subkey ] [ $ key ] = $ subvalue ; } } return $ out ; }
Matriz Transposta - transforma array dados de linhas em colunas
Matriz Transposta - transforma array dados de linhas em colunas