app/maguttiCms/Tools/FileHelper.php
/**
     * This method is used to get a string representation of the given EOL.
     *
     * @param $type
     *
     * @return string
     */
This method is used to get a string representation of the given EOL.
@param $type

@return string
This method is used to get a string representation of the given EOL . @param $type @return string
public static function typeOf($type): string
    {
        switch ($type) {
            case EOLTypes::UNIX:
                return 'LF';
            case EOLTypes::TRS80:
                return 'CR';
            case EOLTypes::ACORN:
                return 'LFCR';
            case EOLTypes::WINDOWS:
                return 'CRLF';
            default:
                return 'UNKNOWN';
        }
    }
public static function typeOf ( $ type ) : string { switch ( $ type ) { case EOLTypes :: UNIX : return 'LF' ; case EOLTypes :: TRS80 : return 'CR' ; case EOLTypes :: ACORN : return 'LFCR' ; case EOLTypes :: WINDOWS : return 'CRLF' ; default : return 'UNKNOWN' ; } }
This method is used to get a string representation of the given EOL.
This method is used to get a string representation of the given EOL .