Add new Enums to enhance error handling and session management

This commit is contained in:
netkas 2024-09-13 13:50:50 -04:00
parent 2cf1a55e8f
commit 178e16627f
7 changed files with 197 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<?php
namespace Socialbox\Enums;
enum ReservedUsernames : string
{
case HOST = 'host';
case ANONYMOUS = 'anonymous';
case ADMIN = 'admin';
}