mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Move enums into their own namespace
This commit is contained in:
parent
c3c588cc1b
commit
be5574eaec
45 changed files with 164 additions and 154 deletions
14
lib/Enums/EbookSourceType.php
Normal file
14
lib/Enums/EbookSourceType.php
Normal 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';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue