diff --git a/src/Ascii.php b/src/Ascii.php index 5ed3502..0d04ea2 100644 --- a/src/Ascii.php +++ b/src/Ascii.php @@ -6,6 +6,8 @@ /** * @see https://datatracker.ietf.org/doc/html/rfc20 + * + * @todo upgrade to PHP 8.2 and move values to cases */ enum Ascii: string { @@ -15,10 +17,22 @@ enum Ascii: string public const RECORD_SEPARATOR = "\x1E"; public const UNIT_SEPARATOR = "\x1F"; + /** + * Separates different files (databases) + */ case FileSeparator = self::FILE_SEPARATOR; + /** + * Separates different groups (tables) of the same file (database) + */ case GroupSeparator = self::GROUP_SEPARATOR; case Null = self::NULL; + /** + * Separates different records (rows) of the same group (table) + */ case RecordSeparator = self::RECORD_SEPARATOR; + /** + * Separates different units (columns) of the same record (row) + */ case UnitSeparator = self::UNIT_SEPARATOR; /**