mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Convert ebook SORT_ constants to an enum
This commit is contained in:
parent
94dce1009a
commit
980ed8cea9
5 changed files with 17 additions and 16 deletions
7
lib/EbookSort.php
Normal file
7
lib/EbookSort.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
enum EbookSort: string{
|
||||
case Newest = 'newest';
|
||||
case AuthorAlpha = 'author-alpha';
|
||||
case ReadingEase = 'reading-ease';
|
||||
case Length = 'length';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue