private static function pretty(array $data) {

        $color = new Color();
        $output = $color->getColoredString(self::VERBOSE_TITLE, 'blue', 'light-gray').PHP_EOL;

        foreach($data as $key => $value) {
            if(is_array($value) === false) {
                $output .= $color->getColoredString(sprintf(self::VERBOSE_ROW, $key, $value), 'dark_gray').PHP_EOL;
            }
            else {
                $output .= $color->getColoredString(sprintf(self::VERBOSE_ROW, $key, ''), 'dark_gray').PHP_EOL;
                foreach($value as $line => $string) {
                    $output .= $color->getColoredString(sprintf("\t".self::VERBOSE_ROW, '', $string), 'dark_gray').PHP_EOL;
                }
            }
        }
        $output .= $color->getColoredString('-----------------', 'blue', 'light-gray').PHP_EOL;

        return $output;
    }
private static function pretty(array $data) {

        $color = new Color();
        $output = $color->getColoredString(self::VERBOSE_TITLE, 'blue', 'light-gray').PHP_EOL;

        foreach($data as $key => $value) {
            if(is_array($value) === false) {
                $output .= $color->getColoredString(sprintf(self::VERBOSE_ROW, $key, $value), 'dark_gray').PHP_EOL;
            }
            else {
                $output .= $color->getColoredString(sprintf(self::VERBOSE_ROW, $key, ''), 'dark_gray').PHP_EOL;
                foreach($value as $line => $string) {
                    $output .= $color->getColoredString(sprintf("\t".self::VERBOSE_ROW, '', $string), 'dark_gray').PHP_EOL;
                }
            }
        }
        $output .= $color->getColoredString('-----------------', 'blue', 'light-gray').PHP_EOL;

        return $output;
    }
private static function pretty ( array $ data ) { $ color = new Color ( ) ; $ output = $ color -> getColoredString ( self :: VERBOSE_TITLE , 'blue' , 'light-gray' ) . PHP_EOL ; foreach ( $ data as $ key => $ value ) { if ( is_array ( $ value ) === false ) { $ output .= $ color -> getColoredString ( sprintf ( self :: VERBOSE_ROW , $ key , $ value ) , 'dark_gray' ) . PHP_EOL ; } else { $ output .= $ color -> getColoredString ( sprintf ( self :: VERBOSE_ROW , $ key , '' ) , 'dark_gray' ) . PHP_EOL ; foreach ( $ value as $ line => $ string ) { $ output .= $ color -> getColoredString ( sprintf ( "\t" . self :: VERBOSE_ROW , '' , $ string ) , 'dark_gray' ) . PHP_EOL ; } } } $ output .= $ color -> getColoredString ( '-----------------' , 'blue' , 'light-gray' ) . PHP_EOL ; return $ output ; }
Pretty print profile data

@param array $data

@return string
Pretty print profile data