src/Utility/Formatter.php
protected static function isArrayMultiline($array)
    {
        if (empty($array)) return false;

        switch (self::getArrayMode()) {
            case self::ARR_MODE_SINGLELINE:
                $isMultiline = false;
                break;
            case self::ARR_MODE_MULTILINE:
                $isMultiline = true;
                break;
            default: // for ARR_MODE_AUTO
                $isMultiline = Arr::isAssoc($array) ? true : false;
                return $isMultiline;
        }
        return $isMultiline;
    }
protected static function isArrayMultiline($array)
    {
        if (empty($array)) return false;

        switch (self::getArrayMode()) {
            case self::ARR_MODE_SINGLELINE:
                $isMultiline = false;
                break;
            case self::ARR_MODE_MULTILINE:
                $isMultiline = true;
                break;
            default: // for ARR_MODE_AUTO
                $isMultiline = Arr::isAssoc($array) ? true : false;
                return $isMultiline;
        }
        return $isMultiline;
    }
protected static function isArrayMultiline ( $ array ) { if ( empty ( $ array ) ) return false ; switch ( self :: getArrayMode ( ) ) { case self :: ARR_MODE_SINGLELINE : $ isMultiline = false ; break ; case self :: ARR_MODE_MULTILINE : $ isMultiline = true ; break ; default : // for ARR_MODE_AUTO $ isMultiline = Arr :: isAssoc ( $ array ) ? true : false ; return $ isMultiline ; } return $ isMultiline ; }
Determines if array should be formatted as a multiline one or not

@param array $array
@return bool
Determines if array should be formatted as a multiline one or not