Add new Enums to enhance error handling and session management
This commit is contained in:
parent
2cf1a55e8f
commit
178e16627f
7 changed files with 197 additions and 0 deletions
10
src/Socialbox/Enums/ReservedUsernames.php
Normal file
10
src/Socialbox/Enums/ReservedUsernames.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Socialbox\Enums;
|
||||
|
||||
enum ReservedUsernames : string
|
||||
{
|
||||
case HOST = 'host';
|
||||
case ANONYMOUS = 'anonymous';
|
||||
case ADMIN = 'admin';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue