Move enums into their own namespace

This commit is contained in:
Alex Cabal 2024-11-08 16:34:21 -06:00
parent c3c588cc1b
commit be5574eaec
45 changed files with 164 additions and 154 deletions

View file

@ -0,0 +1,14 @@
<?
namespace Enums;
enum EbookSourceType: string{
case ProjectGutenberg = 'project_gutenberg';
case ProjectGutenbergAustralia = 'project_gutenberg_australia';
case ProjectGutenbergCanada = 'project_gutenberg_canada';
case InternetArchive = 'internet_archive';
case HathiTrust = 'hathi_trust';
case Wikisource = 'wikisource';
case GoogleBooks = 'google_books';
case FadedPage = 'faded_page';
case Other = 'other';
}