1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00

Improve file structure (#5)

* Add Enums and Overrides folders

* Fix code style (php-cs-fixer)

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
This commit is contained in:
lukinovec 2023-08-03 17:51:53 +02:00 committed by GitHub
parent 1d0ca27bc8
commit e3b59ae2b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 33 additions and 32 deletions

11
src/Enums/Context.php Normal file
View file

@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Enums;
enum Context
{
case TENANT;
case CENTRAL;
}

12
src/Enums/RouteMode.php Normal file
View file

@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Enums;
enum RouteMode
{
case TENANT;
case CENTRAL;
case UNIVERSAL;
}